mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
Fix catching of invalid torrent file
This commit is contained in:
parent
069bd5da88
commit
0d8b619200
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user