Skip to content

Commit

Permalink
fix(error): fix sinkError and connector error (#18425) (#18441)
Browse files Browse the repository at this point in the history
Co-authored-by: Xinhao Xu <[email protected]>
  • Loading branch information
github-actions[bot] and xxhZs authored Sep 6, 2024
1 parent a9ed85a commit 9cb0732
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/stream/src/executor/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ pub enum ErrorKind {
),

#[error("Sink error: sink_id={1}, error: {0}")]
SinkError(SinkError, u32),
SinkError(
#[source]
#[backtrace]
SinkError,
u32,
),

#[error(transparent)]
RpcError(
Expand All @@ -90,7 +95,11 @@ pub enum ErrorKind {
AlignBarrier(Box<Barrier>, Box<Barrier>),

#[error("Connector error: {0}")]
ConnectorError(BoxedError),
ConnectorError(
#[source]
#[backtrace]
BoxedError,
),

#[error(transparent)]
DmlError(
Expand Down

0 comments on commit 9cb0732

Please sign in to comment.