We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40a188b + a92c8bc commit d1eb9acCopy full SHA for d1eb9ac
crates/trigger-http/src/server.rs
@@ -309,7 +309,10 @@ impl<F: RuntimeFactors> HttpServer<F> {
309
outbound_http.set_request_interceptor(OutboundHttpInterceptor::new(self.clone()))?;
310
311
// Prepare HTTP executor
312
- let trigger_config = self.component_trigger_configs.get(component_id).unwrap();
+ let trigger_config = self
313
+ .component_trigger_configs
314
+ .get(component_id)
315
+ .with_context(|| format!("unknown component ID {component_id:?}"))?;
316
let handler_type = self.component_handler_types.get(component_id).unwrap();
317
let executor = trigger_config
318
.executor
0 commit comments