Skip to content

Commit

Permalink
Fix:12589 display kensis error details
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric.Yang committed Oct 2, 2023
1 parent 6fb7ae5 commit 3c519d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/connector/src/source/kinesis/source/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ impl KinesisSplitReader {
.set_starting_sequence_number(starting_seq_num)
.set_timestamp(starting_timestamp)
.send()
.await?;
.await
.map_err(|e| anyhow!(DisplayErrorContext(e)));

if let Some(iter) = resp.shard_iterator() {
Ok(iter.to_owned())
Expand Down

0 comments on commit 3c519d1

Please sign in to comment.