Skip to content

Commit

Permalink
add the response to the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chilicheech authored and andygrunwald committed Sep 18, 2018
1 parent 2990af0 commit 5d5990a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,10 @@ func (s *IssueService) DeleteComment(issueID, commentID string) error {
return err
}

_, err = s.client.Do(req, nil)
resp, err := s.client.Do(req, nil)
if err != nil {
return err
jerr := NewJiraError(resp, err)
return jerr
}

return nil
Expand Down

0 comments on commit 5d5990a

Please sign in to comment.