From 072210c47b4896fbdeec5bb4ff0e5dba5779bdb6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 27 Feb 2015 12:35:46 +0100 Subject: [PATCH] Log rfc6266 UnicodeDecodeError to correct logger. --- qutebrowser/browser/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/http.py b/qutebrowser/browser/http.py index aa3eabed1..27575ce4c 100644 --- a/qutebrowser/browser/http.py +++ b/qutebrowser/browser/http.py @@ -50,7 +50,7 @@ def parse_content_disposition(reply): bytes(reply.rawHeader(content_disposition_header))) filename = content_disposition.filename() except UnicodeDecodeError: - log.misc.exception("Error while decoding filename") + log.rfc6266.exception("Error while decoding filename") else: is_inline = content_disposition.is_inline() # Then try to get filename from url