enable logging, log response errors
ClosedPublic

Authored by kparal on Mar 19 2015, 1:26 PM.

Details

Summary

Use standard logging library. Log various response errors. Allow
ResultsDBapiException to include requests.Response object for further
debugging from the parent script.

This should help us debug issues like these:
http://taskotron-dev.fedoraproject.org/taskmaster/builders/x86_64/builds/3/steps/runtask/logs/taskotron.log

Test Plan

I tested it manually with a generic web server (returning non-json data). Test suite works.

Diff Detail

Repository
rRSAPI resultsdb_api
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kparal retitled this revision from to enable logging, log response errors.Mar 19 2015, 1:26 PM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added a reviewer: jskladan.
This revision is now accepted and ready to land.Mar 19 2015, 2:01 PM
This revision was automatically updated to reflect the committed changes.