Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
catileptic committed Dec 13, 2024
1 parent fd4052f commit 9744ba1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions servicelayer/taskqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,11 @@ def process_blocking(self):
except Empty:
pass
except Exception:
log.exception(f"Worker loop has been disrupted while handling task"
f" {task.id or 'Unknown ID'} from collection"
f" {task.collection_id or 'Unknown ID'}")
log.exception(
f"Worker loop has been disrupted while handling task"
f" {task.id or 'Unknown ID'} from collection"
f" {task.collection_id or 'Unknown ID'}"
)
finally:
clear_contextvars()

Expand Down

0 comments on commit 9744ba1

Please sign in to comment.