mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
Catch all exceptions during interactive_add_torrent.
This commit is contained in:
parent
4a7e0a578b
commit
d2f6a99778
@ -1433,6 +1433,8 @@ disk space to complete your download.") + "\n" + _("Space Needed:") + " " + \
|
||||
nice_need + "\n" + _("Available Space:") + " " + nice_free)
|
||||
except core.InvalidEncodingError, e:
|
||||
print "invalid encoding\n"
|
||||
except Exception, e:
|
||||
print "Unable to add torrent:", e
|
||||
else:
|
||||
self.torrent_model_append(unique_id)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user