Skip to content

Commit

Permalink
fix(jira): Fixes broken form error handling (#78818)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabeVillalobos authored Oct 9, 2024
1 parent de8a3e2 commit 928b473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/integrations/jira/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def error_fields_from_json(self, data):
if error_regex.match(message):
error_data[key] = [message]

if error_data:
if errors:
for key, error in data.get("errors").items():
error_data[key] = [error]

Expand Down

0 comments on commit 928b473

Please sign in to comment.