diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index 699c43dfb..75c0bb81d 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -1806,7 +1806,7 @@ static PyObject *torrent_replace_trackers(PyObject *self, PyObject *args) } } } - catch (libtorrent::invalid_handle&) {} + catch (...) {} Py_INCREF(Py_None); return Py_None; } static PyObject *torrent_prioritize_files(PyObject *self, PyObject *args)