bnsf icon indicating copy to clipboard operation
bnsf copied to clipboard

Improve logging

Open jifeon opened this issue 10 years ago • 0 comments

Need to log messages on several levels, such as error, warning, info, debug etc. It's very important to log requests and responses on most verbose level.

Also want to mention specific situation: if API returns not JSON with application/json header then all you see in console is just a mention about URL and the fact JSON has not parsed. I think in this situation not only original error should be logged but also whore response.body

jifeon avatar Jul 30 '15 17:07 jifeon