[Core] Use fallback message for empty tracker error status
This commit is contained in:
parent
8c26c83c4d
commit
a7826c4f90
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue