mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 16:01:15 -05:00
9 lines
224 B
Python
9 lines
224 B
Python
import sys
|
|
import traceback
|
|
|
|
|
|
def worker_abort(worker):
|
|
worker.log.info("worker received ABORT")
|
|
for threadId, stack in sys._current_frames().items():
|
|
worker.log.error(''.join(traceback.format_stack(stack)))
|