forked from MarseyWorld/MarseyWorld
show url and method again
parent
8d46295d49
commit
ac0b1d8482
|
@ -11,10 +11,10 @@ reload_engine = 'poll'
|
|||
|
||||
def worker_abort(worker):
|
||||
worker.log.warning(f"Worker {worker.pid} received SIGABRT.")
|
||||
|
||||
try:
|
||||
from flask import g, request
|
||||
if g and request:
|
||||
worker.log.warning(f"While serving {request.method} {request.url}")
|
||||
u = getattr(g, 'v', None)
|
||||
if u:
|
||||
worker.log.warning(f"User: {u.username!r} id:{u.id}")
|
||||
|
|
Loading…
Reference in New Issue