feat: add logger function of unhandle node eventws

This commit is contained in:
Lars Wirzenius
2026-01-16 16:54:03 +02:00
parent bb550462fa
commit 2ef340ba2e
+10
View File
@@ -141,6 +141,7 @@ enum Id {
JobRunCreate,
JobRunFinished,
NodeEventNotHandled,
NodeEventSourceCreated,
NodeEventSourceDisconnected,
NodeEventSourceEnd,
@@ -355,6 +356,15 @@ pub fn node_event_source_eof(source: &NodeEventSource) {
);
}
pub fn node_event_not_handled(event: &Event) {
debug!(
msg_id = ?Id::NodeEventNotHandled,
kind = %Kind::Debug,
?event,
"node events of this type are not handled"
);
}
pub fn ci_event_source_created(source: &CiEventSource) {
debug!(
msg_id = ?Id::CiEventSourceCreated,