aboutsummaryrefslogtreecommitdiffstats
path: root/timetask
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 22:13:30 +0200
committerTeddy Wing2017-06-03 22:13:30 +0200
commit8e7fb7199f1e1f84c914bbaa00fa057e3489f1e8 (patch)
treec34925389cf94cd608da2eab54a9ad1f75625e11 /timetask
parentaa2f0f0bac6cc533b70265c9de60943abefa5931 (diff)
downloadtimetasker-8e7fb7199f1e1f84c914bbaa00fa057e3489f1e8.tar.bz2
main(): Handle errors from HTTP responses
Add some simple error handling for known responses from our TimeTask HTTP requests. Check a couple of known strings to determine whether there was an error. If so, exit with a failing error code. Remove our old `log` statements. These were used during debugging to see some output and check responses from TimeTask. We now have an idea of what those responses are, and are handling some of the error cases. Thus the log statements are no longer needed.
Diffstat (limited to 'timetask')
0 files changed, 0 insertions, 0 deletions