Convert throws and catch alls (RIPD-1046)

This commit is contained in:
Miguel Portilla
2015-11-11 10:47:21 -05:00
committed by Nik Bougalis
parent 0633ef1ba1
commit 880f354b90
127 changed files with 786 additions and 710 deletions

View File

@@ -226,7 +226,7 @@ SHAMapAddNode TransactionAcquire::takeNodes (const std::list<SHAMapNodeID>& node
progress ();
return SHAMapAddNode::useful ();
}
catch (...)
catch (std::exception const&)
{
JLOG (j_.error) << "Peer sends us junky transaction node data";
return SHAMapAddNode::invalid ();