diff --git a/runtime/src/alpha/mod.rs b/runtime/src/alpha/mod.rs index f8e031403..4292896f5 100644 --- a/runtime/src/alpha/mod.rs +++ b/runtime/src/alpha/mod.rs @@ -241,7 +241,7 @@ where Ok(res) => match res { Ok(service) => service, Err(error) => { - println!("loading service failed: {error}"); + println!("loading service failed: {error:#}"); let message = LoadResponse { success: false, @@ -283,7 +283,7 @@ where }; return Ok(Response::new(message)); } else { - println!("loading service crashed: {error}"); + println!("loading service crashed: {error:#}"); let message = LoadResponse { success: false, message: error.to_string(), diff --git a/service/src/error.rs b/service/src/error.rs index 980d219da..22f890620 100644 --- a/service/src/error.rs +++ b/service/src/error.rs @@ -14,7 +14,7 @@ pub enum Error { BindPanic(String), #[error("Failed to interpolate string. Is your Secrets.toml correct?")] StringInterpolation(#[from] strfmt::FmtError), - #[error("Custom error: {0}")] + #[error(transparent)] Custom(#[from] CustomError), }