Skip to content

Commit

Permalink
Catching unknown type exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Jan 23, 2017
1 parent 4a66197 commit b91b6f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rai/rai_wallet/entry.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b91b6f7

Please sign in to comment.