mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[Core] Use fallback message for empty tracker error status
This commit is contained in:
parent
8c26c83c4d
commit
a7826c4f90
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue