-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Seen in the pod logs internally
[2024-10-16 13:33:50,799] INFO: 172.20.226.31 - - [16/Oct/2024 13:33:50] "POST /handle-event HTTP/1.1" 500 -
[2024-10-16 13:33:50,977] ERROR: Exception on /handle-event [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/usr/local/src/sync2jira/sync-page/event-handler.py", line 36, in handle_event
initialize_issues(config, repo_name=repo_name)
File "/usr/local/lib/python3.9/site-packages/sync2jira/main.py", line 190, in initialize_issues
d_issue.sync_with_jira(issue, config)
File "/usr/local/lib/python3.9/site-packages/sync2jira/downstream_issue.py", line 1152, in sync_with_jira
existing = _get_existing_jira_issue(client, issue, config)
File "/usr/local/lib/python3.9/site-packages/sync2jira/downstream_issue.py", line 405, in _get_existing_jira_issue
results = _matching_jira_issue_query(client, issue, config)
File "/usr/local/lib/python3.9/site-packages/sync2jira/downstream_issue.py", line 189, in _matching_jira_issue_query
alert_user_of_duplicate_issues(issue, final_results,
File "/usr/local/lib/python3.9/site-packages/sync2jira/downstream_issue.py", line 277, in alert_user_of_duplicate_issues
message = 'No admin could be found for username %s' % list(admin.keys())[0]
AttributeError: 'set' object has no attribute 'keys'
Metadata
Metadata
Assignees
Labels
No labels