Throw an exception in case of error during ExecuteEventHandler if source is not set

This commit is contained in:
Mattia Codato 2020-07-23 13:23:13 +02:00 committed by Noah Hilverling
parent 1f5a92a22d
commit 58251d1fca

View File

@ -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") {