Skip to content

Commit

Permalink
include source as part of Display
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangjinwu committed Jan 18, 2024
1 parent 03092e4 commit 99a82e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/connector/src/schema/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions src/connector/src/schema/schema_registry/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 99a82e5

Please sign in to comment.