Skip to content

Commit

Permalink
Revert to return None when Jira API error occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankovnatsky committed Dec 9, 2024
1 parent 53d982a commit c9301c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robusta/integrations/jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _call_jira_api(self, url, http_method: HttpMethod = HttpMethod.GET, **kwargs
f"request: url: {response.request.url} "
f"headers: {response.request.headers} body: {response.request.body}"
)
raise HTTPError(f"Jira API error: {response.status_code} - {response.text}", response=response)
return None

def _get_transition_id(self, issue_id, status_name):
transitions = self._get_transitions_for_issue(issue_id)
Expand Down

0 comments on commit c9301c6

Please sign in to comment.