improved client_test add_torrent output

This commit is contained in:
Arvid Norberg 2008-11-10 04:16:52 +00:00
parent ce8c835ab8
commit 1d45dbabb0
1 changed files with 3 additions and 2 deletions

View File

@ -497,12 +497,13 @@ void add_torrent(libtorrent::session& ses
{
t = new torrent_info(torrent.c_str());
}
catch (std::exception&)
catch (std::exception& e)
{
std::cout << torrent << ": " << e.what() << std::endl;
return;
}
std::cout << t->name() << "\n";
std::cout << t->name() << std::endl;
add_torrent_params p;
lazy_entry resume_data;