Skip to content
Snippets Groups Projects
Commit 12d700e0 authored by Megan Henning's avatar Megan Henning
Browse files

Remove broad exception handling

parent 8172811b
No related branches found
No related tags found
No related merge requests found
......@@ -239,10 +239,8 @@ def create_jobs(db, container_before, container_after, container_type):
for pj in potential_jobs:
job_map = pj['job'].map()
try:
Queue.enqueue_job(job_map, None) # passing no origin results in system origin
except Exception as e: # pylint: disable=broad-except
config.log.exception('Unable to enqueue job from rules: {}'.format(e))
Queue.enqueue_job(job_map, None) # passing no origin results in system origin
spawned_jobs.append(pj['rule']['alg'])
return spawned_jobs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment