[Core] Use fallback message for empty tracker error status

This commit is contained in:
Calum Lind 2017-01-28 15:23:08 +00:00
parent 8c26c83c4d
commit a7826c4f90
1 changed files with 2 additions and 0 deletions

View File

@ -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)