Skip to content

Commit

Permalink
chore: a clearer error message for file source when the list fails (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wcy-fdu authored Apr 16, 2024
1 parent 1346a22 commit cc95f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/src/executor/source/list_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl<S: StateStore> FsListExecutor<S> {
let rows = chunk
.into_iter()
.map(|item| {
let page_item = item.unwrap();
let page_item = item.expect("list file failed, please check whether the source connector is configured correctly.");
(
Op::Insert,
OwnedRow::new(vec![
Expand Down

0 comments on commit cc95f48

Please sign in to comment.