Mercurial > libervia-web
changeset 1226:011147d7a931
pages: removed a decode() in internal error logging
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 08 Nov 2019 10:52:25 +0100 |
parents | 63f7a2bd1d4a |
children | 15f90fd688b5 |
files | libervia/server/pages.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/server/pages.py Tue Oct 08 12:11:16 2019 +0200 +++ b/libervia/server/pages.py Fri Nov 08 10:52:25 2019 +0100 @@ -1277,7 +1277,7 @@ log.warning("not allowed exception catched") self.pageError(request, C.HTTP_FORBIDDEN) log.error(_("Uncatched error for HTTP request on {url}: {msg}") - .format(url=request.URLPath().decode(), msg=failure_)) + .format(url=request.URLPath(), msg=failure_)) self.pageError(request, C.HTTP_INTERNAL_ERROR) def _on_data_post_error(self, failure_, request):