summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/deluge_core.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp
index 4de7e2bf8..9238a2c03 100644
--- a/src/deluge_core.cpp
+++ b/src/deluge_core.cpp
@@ -743,6 +743,8 @@ static PyObject *torrent_add_torrent(PyObject *self, PyObject *args)
}
catch (invalid_encoding&)
{ RAISE_PTR(InvalidEncodingError, ""); }
+ catch (invalid_handle&)
+ { printf("invalid handle error on add_torrent"); }
catch (invalid_torrent_file&)
{ RAISE_PTR(InvalidTorrentError, ""); }
catch (boost::filesystem::filesystem_error&)