Files
notifications-admin/gunicorn_config.py

9 lines
224 B
Python
Raw Normal View History

import sys
import traceback
def worker_abort(worker):
worker.log.info("worker received ABORT")
for threadId, stack in sys._current_frames().items():
2017-09-25 16:24:11 +01:00
worker.log.error(''.join(traceback.format_stack(stack)))