forked from FrederikBaerentsen/BrickTracker
Add the path that 404'd in the log line
This commit is contained in:
parent
7999572cf1
commit
53b406f722
@ -126,8 +126,9 @@ def error_404(
|
||||
**kwargs,
|
||||
) -> Tuple[str | Response, int]:
|
||||
# Warning
|
||||
logger.warning('Not found: {error}'.format(
|
||||
logger.warning('Not found: {error} (path: {path})'.format(
|
||||
error=str(error),
|
||||
path=request.path,
|
||||
))
|
||||
|
||||
if json:
|
||||
|
Loading…
Reference in New Issue
Block a user