[Core] Ensure tracker error message is decoded

This commit is contained in:
Calum Lind 2017-06-26 22:04:12 +01:00
parent 065729a389
commit 3174c7534d
1 changed files with 1 additions and 1 deletions

View File

@ -1060,7 +1060,7 @@ class TorrentManager(component.Component):
error_message = decode_bytes(alert.error_message())
if not error_message:
error_message = alert.error.message()
error_message = decode_bytes(alert.error.message())
log.debug('Tracker Error Alert: %s [%s]', decode_bytes(alert.message()), error_message)
torrent.set_tracker_status('Error: ' + error_message)