debugging
Some checks failed
Build and Test / wii-u-chat (push) Has been cancelled
Build and Test / splatoon-testfire (push) Has been cancelled
Build and Test / puyopuyo (push) Has been cancelled
Build and Test / wii-sports-club (push) Has been cancelled
Build and Test / super-mario-maker (push) Has been cancelled
Build and Test / fast-racing-neo (push) Has been cancelled
Build and Test / friends (push) Has been cancelled
Build and Test / splatoon (push) Has been cancelled
Build and Test / minecraft-wiiu (push) Has been cancelled
Build and Test / sonic-transformed (push) Has been cancelled
Build and Test / mario-tennis (push) Has been cancelled

This commit is contained in:
red binder 2026-06-23 01:16:43 +02:00
commit 73d70a6188

View file

@ -342,7 +342,10 @@ impl AccountManagement for FriendsGuest {
if let Ok(extra_info) = auth_data.try_get_as::<AccountExtraInfo>() {
info!("create account via extra info");
let decoded_token = decode_token(&*extra_info.nex_token).map_err(|_| ErrorCode::Authentication_InvalidParam)?;
let decoded_token = decode_token(&*extra_info.nex_token).map_err(|e| {
log::error!("failed to decode token: {}", e);
ErrorCode::Authentication_InvalidParam
})?;
let mut client = NexAccountServiceClient::connect(NEX_ACCOUNT_URL.as_str())
.await