From fef160e7a7d47b444535196101c02f58ede20d4b Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 27 Oct 2016 22:17:29 +0100 Subject: [PATCH] [Common] Use log.warning instead of error for download failure --- deluge/httpdownloader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deluge/httpdownloader.py b/deluge/httpdownloader.py index b6dea71e3..9928afe2b 100644 --- a/deluge/httpdownloader.py +++ b/deluge/httpdownloader.py @@ -252,9 +252,9 @@ def download_file(url, filename, callback=None, headers=None, force_filename=Fal allow_compression=allow_compression) result.addCallbacks(on_download_success, on_download_fail) else: - # Log the error and pass the failure to the caller - log.error("Error occurred downloading torrent from '%s': %s", - url, failure.getErrorMessage()) + # Log the failure and pass to the caller + log.warning("Error occurred downloading file from '%s': %s", + url, failure.getErrorMessage()) result = failure return result