diff options
author | Teddy Wing | 2017-06-03 22:13:30 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 22:13:30 +0200 |
commit | 8e7fb7199f1e1f84c914bbaa00fa057e3489f1e8 (patch) | |
tree | c34925389cf94cd608da2eab54a9ad1f75625e11 /README.md | |
parent | aa2f0f0bac6cc533b70265c9de60943abefa5931 (diff) | |
download | timetasker-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 'README.md')
0 files changed, 0 insertions, 0 deletions