mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-10 07:03:12 -05:00
9 lines
223 B
Python
9 lines
223 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.info(''.join(traceback.format_stack(stack)))
|