Skip to content

Commit a6b5a9f

Browse files
authored
🔧 chore: mark common user config errors for sync_assignee_outbound and sync_status_outbound as halts (#92462)
1 parent 33c27e8 commit a6b5a9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sentry/integrations/vsts/issues.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ def sync_assignee_outbound(
307307
"issue_key": external_issue.key,
308308
},
309309
)
310+
except Exception as e:
311+
self.raise_error(e)
310312

311313
def sync_status_outbound(
312314
self, external_issue: ExternalIssue, is_resolved: bool, project_id: int
@@ -360,6 +362,8 @@ def sync_status_outbound(
360362
"exception": error,
361363
},
362364
)
365+
except Exception as e:
366+
self.raise_error(e)
363367

364368
def get_resolve_sync_action(self, data: Mapping[str, Any]) -> ResolveSyncAction:
365369
done_states = self._get_done_statuses(data["project"])

0 commit comments

Comments
 (0)