From d087a9b8aed74d5f198fca15969df5ee7ba4be90 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 26 Jan 2021 18:22:10 +0000 Subject: [PATCH] Don't leak exceptions from ExceptionCatchingApplication::notify() --- ExceptionCatchingApplication.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ExceptionCatchingApplication.hpp b/ExceptionCatchingApplication.hpp index 8b23ab4df..04c04d62e 100644 --- a/ExceptionCatchingApplication.hpp +++ b/ExceptionCatchingApplication.hpp @@ -32,13 +32,12 @@ public: catch (std::exception const& e) { LOG_FATAL (e.what ()); - throw; } catch (...) { LOG_FATAL ("Unexpected fatal error"); - throw; } + return false; } };