mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
Show actual error in status from storage_moved_failed_alert
This commit is contained in:
parent
62cca045be
commit
8685c7a604
1 changed files with 2 additions and 1 deletions
|
@ -1083,8 +1083,9 @@ class TorrentManager(component.Component):
|
||||||
except (RuntimeError, KeyError):
|
except (RuntimeError, KeyError):
|
||||||
return
|
return
|
||||||
# Set an Error message and pause the torrent
|
# Set an Error message and pause the torrent
|
||||||
|
alert_msg = decode_string(alert.message()).split(':', 1)[1].strip()
|
||||||
|
torrent.set_status_message("Error: Moving storage failed, %s" % alert_msg)
|
||||||
torrent.moving_storage = False
|
torrent.moving_storage = False
|
||||||
torrent.set_status_message("Error: moving storage location failed")
|
|
||||||
torrent.pause()
|
torrent.pause()
|
||||||
torrent.update_state()
|
torrent.update_state()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue