Don't leak exceptions from ExceptionCatchingApplication::notify()

This commit is contained in:
Bill Somerville 2021-01-26 18:22:10 +00:00
parent 04ef699841
commit 5ec3579424
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -32,13 +32,12 @@ public:
catch (std::exception const& e) catch (std::exception const& e)
{ {
LOG_FATAL (e.what ()); LOG_FATAL (e.what ());
throw;
} }
catch (...) catch (...)
{ {
LOG_FATAL ("Unexpected fatal error"); LOG_FATAL ("Unexpected fatal error");
throw;
} }
return false;
} }
}; };