Skip to content

Commit

Permalink
fix(error): log error field in stream reader retry loop (#14792) (#14807
Browse files Browse the repository at this point in the history
)
  • Loading branch information
xiangjinwu authored Jan 26, 2024
1 parent 4c509d6 commit 8ce74f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/stream/src/executor/source/source_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,10 @@ impl<S: StateStore> SourceExecutor<S> {
) -> StreamExecutorResult<()> {
let core = self.stream_source_core.as_mut().unwrap();
tracing::warn!(
"stream source reader error, actor: {:?}, source: {:?}",
self.actor_ctx.id,
core.source_id,
error = ?e.as_report(),
actor_id = self.actor_ctx.id,
source_id = %core.source_id,
"stream source reader error",
);
GLOBAL_ERROR_METRICS.user_source_reader_error.report([
"SourceReaderError".to_owned(),
Expand Down

0 comments on commit 8ce74f3

Please sign in to comment.