llmpevent do not panic on crash

This commit is contained in:
Andrea Fioraldi 2021-01-10 17:48:42 +01:00
parent 98fad33def
commit b821d90186

View File

@ -662,10 +662,12 @@ where
Ok(BrokerEventResult::Handled)
}
LLMPEventKind::Crash { input: _ } => {
panic!("LoggerEventManager cannot handle Event::Crash");
println!("LLMPEvent::Crash");
Ok(BrokerEventResult::Handled)
}
LLMPEventKind::Timeout { input: _ } => {
panic!("LoggerEventManager cannot handle Event::Timeout");
println!("LLMPEvent::Timeout");
Ok(BrokerEventResult::Handled)
}
LLMPEventKind::Log {
severity_level,