aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/module.go
diff options
context:
space:
mode:
authorTeddy Wing2018-01-22 21:45:52 +0100
committerTeddy Wing2018-01-22 21:45:52 +0100
commit45dde7e7dfc82cce180034533f89e931a42287e6 (patch)
treed96bfed4ccf7ad95bf7925b8b02b525599e1541e /timetask/module.go
parent54c921d24cb5759cc63f4781b8dc96fa389e5ef7 (diff)
downloadtimetasker-show-http-response-when-time-emtry-submission-fails.tar.bz2
SubmitTimeEntry(): Log HTTP responseshow-http-response-when-time-emtry-submission-fails
The previous error message wasn't useful for determining the cause of the error. It just said there was a problem, but provided no additional information. Append the HTTP response body from TimeTask to the error message so users can see what they had a problem with.
Diffstat (limited to 'timetask/module.go')
0 files changed, 0 insertions, 0 deletions