Improve error message from unexpected WASM component failures, e.g. a component panics.

This commit is contained in:
Sebastian Jeltsch 2026-04-14 11:46:51 +02:00
parent 5e907590f4
commit f4c4d540c7

View file

@ -241,8 +241,8 @@ pub(crate) async fn install_routes_and_jobs(
)
}
Err(err) => {
debug!("`call_incoming_http_handler` returned: {err}");
return internal("call");
warn!("`Error calling WASM component - call_incoming_http_handler` returned: {err}");
return internal("component responded unexpectedly");
}
};
};