Debugging
This commit is contained in:
parent
feebd6499f
commit
1c561aa36d
|
|
@ -45,6 +45,10 @@ class WebClient {
|
|||
);
|
||||
|
||||
if (response.statusCode >= 400) {
|
||||
print('==== FAILED ====');
|
||||
print('url: $url');
|
||||
print('body: ${response.body}');
|
||||
|
||||
throw _parseError(response.body);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue