From bf07ada3df1081d5c9c12ae8c46d98456e56709c 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 13bf02dac..ac5aed797 100644 --- a/lib/icinga/clusterevents-check.cpp +++ b/lib/icinga/clusterevents-check.cpp @@ -303,7 +303,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") {