diff --git a/src/connector/src/schema/mod.rs b/src/connector/src/schema/mod.rs index ddf98be990c7b..5204eea5777c8 100644 --- a/src/connector/src/schema/mod.rs +++ b/src/connector/src/schema/mod.rs @@ -41,7 +41,7 @@ pub enum SchemaFetchError { InvalidOption(#[from] InvalidOptionError), #[error(transparent)] Request(#[from] schema_registry::ConcurrentRequestError), - #[error("schema compilation error")] + #[error("schema compilation error: {0}")] SchemaCompile(#[source] risingwave_common::error::BoxedError), #[error(transparent)] YetToMigrate(risingwave_common::error::RwError), diff --git a/src/connector/src/schema/schema_registry/util.rs b/src/connector/src/schema/schema_registry/util.rs index 41470b81427cc..c2fce4e5b7c17 100644 --- a/src/connector/src/schema/schema_registry/util.rs +++ b/src/connector/src/schema/schema_registry/util.rs @@ -86,9 +86,9 @@ pub(crate) struct SchemaRegistryCtx { #[derive(Debug, thiserror::Error)] pub enum RequestError { - #[error("confluent registry send req error")] + #[error("confluent registry send req error: {0}")] Send(#[source] reqwest::Error), - #[error("confluent registry parse resp error")] + #[error("confluent registry parse resp error: {0}")] Json(#[source] reqwest::Error), #[error(transparent)] Unsuccessful(ErrorResp),