Skip to content

Commit 0a5a356

Browse files
authored
show specific Jira connection error (baserow#4260)
1 parent b364938 commit 0a5a356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enterprise/backend/src/baserow_enterprise/data_sync/jira_issues_data_sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ def _fetch_issues(self, instance, progress_builder: ChildProgressBuilder):
283283
start_at += max_results
284284
if data["total"] <= start_at:
285285
break
286-
except (RequestException, UnacceptableAddressException, ConnectionError):
287-
raise SyncError("Error fetching issues from Jira.")
286+
except (RequestException, UnacceptableAddressException, ConnectionError) as e:
287+
raise SyncError(f"Error connecting to Jira: {str(e)}")
288288

289289
return issues
290290

0 commit comments

Comments
 (0)