Commit 318f855
committed
Added verbose error message for a wrong status
If the server returns a 404 error message for the api url then the code will break when a subsequent method tries to analyse that response body. This way the error is clearer.1 parent 971662b commit 318f855
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
96 | | - | |
| 99 | + | |
0 commit comments