Debugging

This commit is contained in:
Hillel Coren 2018-09-16 20:46:16 -07:00
parent feebd6499f
commit 1c561aa36d
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ class WebClient {
); );
if (response.statusCode >= 400) { if (response.statusCode >= 400) {
print('==== FAILED ====');
print('url: $url');
print('body: ${response.body}');
throw _parseError(response.body); throw _parseError(response.body);
} }