mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-11-27 22:18:45 +02:00
add the response to the error message
This commit is contained in:
committed by
Andy Grunwald
parent
2990af0701
commit
5d5990ab65
5
issue.go
5
issue.go
@@ -743,9 +743,10 @@ func (s *IssueService) DeleteComment(issueID, commentID string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = s.client.Do(req, nil)
|
resp, err := s.client.Do(req, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
jerr := NewJiraError(resp, err)
|
||||||
|
return jerr
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user