diff options
| author | Teddy Wing | 2018-01-22 21:59:51 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-01-22 21:59:51 +0100 |
| commit | b31561487edb3df5241f4999a26edbcbae6e0717 (patch) | |
| tree | d96bfed4ccf7ad95bf7925b8b02b525599e1541e | |
| parent | 54c921d24cb5759cc63f4781b8dc96fa389e5ef7 (diff) | |
| parent | 45dde7e7dfc82cce180034533f89e931a42287e6 (diff) | |
| download | timetasker-b31561487edb3df5241f4999a26edbcbae6e0717.tar.bz2 | |
Merge branch 'show-http-response-when-time-emtry-submission-fails'
| -rw-r--r-- | timetask/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timetask/http.go b/timetask/http.go index f0a6548..7f5cc18 100644 --- a/timetask/http.go +++ b/timetask/http.go @@ -76,7 +76,7 @@ func SubmitTimeEntry(client http.Client, time_entry TimeEntry) error { string(body), "No time entries were created.", ) { - return fmt.Errorf("time entry creation failed") + return fmt.Errorf("time entry creation failed\nResponse: %s", body) } return nil |
