💄 Add status code to userinfo alert

This commit is contained in:
2025-08-18 13:19:50 +08:00
parent e809aadaea
commit fac3efb50c

View File

@@ -40,7 +40,7 @@ class UserInfoNotifier extends StateNotifier<AsyncValue<SnAccount?>> {
: 'failedToLoadUserInfoNetwork')
.tr()
.trim(),
error.response?.headers.toString(),
'${error.response!.statusCode}\n${error.response?.headers}',
jsonEncode(error.response?.data),
].join('\n\n'),
iconStyle: IconStyle.error,