💄 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') : 'failedToLoadUserInfoNetwork')
.tr() .tr()
.trim(), .trim(),
error.response?.headers.toString(), '${error.response!.statusCode}\n${error.response?.headers}',
jsonEncode(error.response?.data), jsonEncode(error.response?.data),
].join('\n\n'), ].join('\n\n'),
iconStyle: IconStyle.error, iconStyle: IconStyle.error,