From b91b6f779df7303907822adcac9bc3b70e6ff034 Mon Sep 17 00:00:00 2001 From: clemahieu Date: Mon, 23 Jan 2017 00:43:08 -0600 Subject: [PATCH] Catching unknown type exceptions. --- rai/rai_wallet/entry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 rai/rai_wallet/entry.cpp diff --git a/rai/rai_wallet/entry.cpp b/rai/rai_wallet/entry.cpp old mode 100644 new mode 100755 index 1c5cb9b9..29402ae9 --- a/rai/rai_wallet/entry.cpp +++ b/rai/rai_wallet/entry.cpp @@ -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; }