Mercurial > libervia-web
diff libervia/server/pages.py @ 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 | 62bf4f87c249 |
children | 987595a254b0 |
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):