1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-01-22 03:10:10 +02:00

7 Commits

Author SHA1 Message Date
Rekha Mittal
53c468062d Fix panic for unauthorized response with nil error 2019-03-20 08:15:10 +01:00
Eric Billingsley
c74da16159 Issue 193: only parse application/json content-type as JSON 2019-01-03 08:46:08 +01:00
Bob Briski
67d3f9b9ef Fixed null pointer when no response is received
* JiraError can now handle nil responses
* Better error handling when the response is not JSON
2017-11-14 17:57:26 -08:00
Bob Briski
5655cb856a Updated test to use already built testClient. Fixed jira error functions to receive jira.Response instead of http.Response 2017-11-02 16:53:36 -07:00
Bob Briski
36974f8b7b Fixing test to account for non-deterministic map order 2017-11-02 14:40:30 -07:00
Bob Briski
4d547f0f3a Removed debug Println. Switched test back to correct failure state 2017-11-02 14:27:16 -07:00
Bob Briski
d0531056bb Adding jira.Error to better wrap jira-specific errors 2017-11-02 10:09:17 -07:00