Merge pull request #591 from sartography/jpitts-uva-patch-1

Fix to prevent continuing Sentry "Working outside of application cont…
This commit is contained in:
jpitts-uva 2024-01-29 02:39:35 -05:00 committed by GitHub
commit 0733e49cbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 22 deletions

View File

@ -139,6 +139,7 @@ class WorkflowService(object):
return workflow_url
def process_erroring_workflows(self):
with app.app_context():
workflows = self.get_erroring_workflows()
if len(workflows) > 0:
workflow_urls = []