explicitly ignore unknown events

This commit is contained in:
Erica Z 2024-11-05 06:28:48 +01:00
parent f15019f49d
commit 3f1d899f0b

View file

@ -196,6 +196,10 @@ mod imp {
}; };
} }
Event::Unknown(_) => {
// either deprecated or future, ignore
}
_ => event!(Level::DEBUG, "unhandled {event:?}"), _ => event!(Level::DEBUG, "unhandled {event:?}"),
} }
} }