]> git.ipfire.org Git - ipfire.org.git/commitdiff
httpclient: Don't log any errors
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Jan 2025 10:23:58 +0000 (10:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Jan 2025 10:23:58 +0000 (10:23 +0000)
These should be caught somewhere else in the code.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/httpclient.py

index c8150ed7d2ee1b50b3024001d6d0a939f675e9e8..bbf1077d0b1a199e2e9fe7a1ec9a6527c14570ea 100644 (file)
@@ -96,7 +96,7 @@ class HTTPClient(tornado.curl_httpclient.CurlAsyncHTTPClient):
 
                # Log any errors
                except tornado.httpclient.HTTPError as e:
-                       log.error("Received status %s:" % e.code)
+                       log.debug("Received status %s:" % e.code)
 
                        # Log the response body
                        if e.response: