From facf3ff1700f03b15cc5ddb40480421d527705e3 Mon Sep 17 00:00:00 2001 From: Mattia Codato Date: Thu, 23 Jul 2020 13:34:26 +0200 Subject: [PATCH] Remove arguments from 'throw' inc case of ExecuteEventHandler error --- lib/icinga/clusterevents-check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/clusterevents-check.cpp b/lib/icinga/clusterevents-check.cpp index fb5774b60..adc8f4945 100644 --- a/lib/icinga/clusterevents-check.cpp +++ b/lib/icinga/clusterevents-check.cpp @@ -295,7 +295,7 @@ void ClusterEvents::ExecuteCheckFromQueue(const MessageOrigin::Ptr& origin, cons double now = Utility::GetTime(); SendEventExecuteCommand(params, ServiceUnknown, output, now, now, listener, origin, sourceEndpoint); } else { - throw ex; + throw; } } } else if (command_type == "notification_command") {