mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Catch all exceptions during interactive_add_torrent.
This commit is contained in:
parent
4a7e0a578b
commit
d2f6a99778
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue