Catching unknown type exceptions.

This commit is contained in:
clemahieu 2017-01-23 00:43:08 -06:00
commit b91b6f779d

4
rai/rai_wallet/entry.cpp Normal file → Executable file
View file

@ -310,9 +310,9 @@ int main (int argc, char * const * argv)
{
std::cerr << boost::str (boost::format ("Exception while initializing %1%") % e.what ());
}
catch (std::exception const & e)
catch (...))
{
std::cerr << boost::str (boost::format ("Unknown exception while initializing %1%") % e.what ());
std::cerr << boost::str (boost::format ("Unknown exception while initializing"));
}
return 1;
}