From bffee42c41dc6c2e00218a4fbf9f14b5f30547fa Mon Sep 17 00:00:00 2001 From: tabVersion Date: Mon, 15 Jul 2024 20:39:56 +0800 Subject: [PATCH] fix Signed-off-by: tabVersion --- src/connector/src/source/kinesis/enumerator/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector/src/source/kinesis/enumerator/client.rs b/src/connector/src/source/kinesis/enumerator/client.rs index aa42015b8d8fd..ec5e06620d2e8 100644 --- a/src/connector/src/source/kinesis/enumerator/client.rs +++ b/src/connector/src/source/kinesis/enumerator/client.rs @@ -69,7 +69,7 @@ impl SplitEnumerator for KinesisSplitEnumerator { next_token = None; continue; } - bail!("Kinesis ListShards service error: {:?}", e.as_report()) + bail!("Kinesis ListShards service error: {}", e.to_report_string()); } }; match list_shard_output.shards {