Display full path in 404 error instead of inner_path

This commit is contained in:
Tamas Kocsis 2020-09-04 18:07:29 +02:00
parent cafeebf120
commit 9d198ff7f2
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ class UiRequest(object):
return self.actionFile(file_path, header_length=header_length, header_noscript=header_noscript, header_allow_ajax=header_allow_ajax, file_size=file_size, path_parts=path_parts)
else:
self.log.debug("File not found: %s" % path_parts["inner_path"])
return self.error404(path_parts["inner_path"])
return self.error404(path)
# Serve a media for ui
def actionUiMedia(self, path):