From a7826c4f90115026d3d50c51f9b3a4e5520d9ccf Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 28 Jan 2017 15:23:08 +0000 Subject: [PATCH] [Core] Use fallback message for empty tracker error status --- deluge/core/torrentmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 1e6961690..1271eb55c 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -1049,6 +1049,8 @@ class TorrentManager(component.Component): return error_message = decode_string(alert.error_message()) + if not error_message: + error_message = alert.error.message() log.debug('Tracker Error Alert: %s [%s]', decode_string(alert.message()), error_message) torrent.set_tracker_status('Error: ' + error_message)