error formatting

This commit is contained in:
sneurlax 2023-09-19 23:26:23 -05:00
parent 04999f49c5
commit 75e66d0a61
2 changed files with 4 additions and 2 deletions

View file

@ -242,7 +242,8 @@ class _OrdinalImageGroup extends ConsumerWidget {
);
if (response.code != 200) {
throw Exception("statusCode=${response.code} body=${response.bodyBytes}");
throw Exception(
"OrdinalDetailsView _savePngToFile statusCode=${response.code} body=${response.bodyBytes}");
}
final bytes = response.bodyBytes;

View file

@ -62,7 +62,8 @@ class _DesktopOrdinalDetailsViewState
);
if (response.code != 200) {
throw Exception("statusCode=${response.code} body=${response.bodyBytes}");
throw Exception(
"DesktopOrdinalDetailsView _savePngToFile statusCode=${response.code} body=${response.bodyBytes}");
}
final bytes = response.bodyBytes;