New Year revamp #40
@ -126,8 +126,9 @@ def error_404(
|
|||||||
**kwargs,
|
**kwargs,
|
||||||
) -> Tuple[str | Response, int]:
|
) -> Tuple[str | Response, int]:
|
||||||
# Warning
|
# Warning
|
||||||
logger.warning('Not found: {error}'.format(
|
logger.warning('Not found: {error} (path: {path})'.format(
|
||||||
error=str(error),
|
error=str(error),
|
||||||
|
path=request.path,
|
||||||
))
|
))
|
||||||
|
|
||||||
if json:
|
if json:
|
||||||
|
Loading…
Reference in New Issue
Block a user