diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index 6c18f6a20..64f79a17b 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -929,6 +929,9 @@ std::cout << asctime(timeinfo) << " torrent_dump_file_info()" << std::endl; return ret; } + catch(invalid_torrent_file&){ + return NULL; + } catch(invalid_encoding&){ return NULL; }