From b7983a5ab4c2fb2ed9301cb3f12f6a93140e1d1f Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 26 Nov 2007 02:04:55 +0000 Subject: [PATCH] catch invalid_handle on add_torrent --- src/deluge_core.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index 75c0bb81d..5f90e705f 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -238,6 +238,9 @@ boost::filesystem::path const& save_path) catch (invalid_encoding&) { } + catch (invalid_handle&) + { + } catch (boost::filesystem::filesystem_error&) {} // Create new torrent object