Skip to content

Commit

Permalink
fix(error): fix sinkError and connector error (#18425)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs authored and xxchan committed Sep 6, 2024
1 parent a9ed85a commit eaee4c2
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 eaee4c2

Please sign in to comment.