Catching unknown type exceptions.
This commit is contained in:
parent
4a661979ce
commit
b91b6f779d
1 changed files with 2 additions and 2 deletions
4
rai/rai_wallet/entry.cpp
Normal file → Executable file
4
rai/rai_wallet/entry.cpp
Normal file → Executable 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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue