mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Throw an exception in case of error during ExecuteEventHandler if source is not set
This commit is contained in:
parent
53659066f2
commit
aadedc0d1c
@ -302,6 +302,8 @@ void ClusterEvents::ExecuteCheckFromQueue(const MessageOrigin::Ptr& origin, cons
|
|||||||
|
|
||||||
double now = Utility::GetTime();
|
double now = Utility::GetTime();
|
||||||
SendEventExecuteCommand(params, ServiceUnknown, output, now, now, listener, origin, sourceEndpoint);
|
SendEventExecuteCommand(params, ServiceUnknown, output, now, now, listener, origin, sourceEndpoint);
|
||||||
|
} else {
|
||||||
|
throw ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (command_type == "notification_command") {
|
} else if (command_type == "notification_command") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user