fixed error logging problem
This commit is contained in:
parent
a706461634
commit
2793325c50
@ -30,7 +30,7 @@ class Route:
|
|||||||
return response
|
return response
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.error(traceback.format_exc)
|
log.error(traceback.format_exc())
|
||||||
return error_page(500)
|
return error_page(500)
|
||||||
|
|
||||||
def matches(self, request: 'Request') -> bool:
|
def matches(self, request: 'Request') -> bool:
|
||||||
|
Loading…
Reference in New Issue
Block a user