Skip to content

Commit

Permalink
display error
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <[email protected]>
  • Loading branch information
wangrunji0408 committed Nov 13, 2023
1 parent 26e46e8 commit c8e0b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/udf/src/external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ impl ArrowFlightUdfClient {
let mut backoff = Duration::from_millis(100);
for i in 0..5 {
match self.call(id, input.clone()).await {
Err(e) if e.is_connection_error() && i != 4 => {
tracing::error!(?e, "UDF connection error. retry...");
Err(err) if err.is_connection_error() && i != 4 => {
tracing::error!(%err, "UDF connection error. retry...");
}
ret => return ret,
}
Expand Down

0 comments on commit c8e0b06

Please sign in to comment.