From 8685c7a60488aee35b42d8f9faf20011a4c08b21 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 16 Jul 2014 18:07:12 +0100 Subject: [PATCH] Show actual error in status from storage_moved_failed_alert --- deluge/core/torrentmanager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 3dd6c744e..7f10d1f8f 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -1083,8 +1083,9 @@ class TorrentManager(component.Component): except (RuntimeError, KeyError): return # 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.set_status_message("Error: moving storage location failed") torrent.pause() torrent.update_state()