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