Skip to content

Commit

Permalink
fix(udf): use Debug to display transport error on UDF server (#15646)
Browse files Browse the repository at this point in the history
fix error message
  • Loading branch information
flaneur2020 authored May 27, 2024
1 parent a7bc773 commit 5b0d2a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/query/expression/src/utils/udf_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ impl UDFFlightClient {
.await
.map_err(|err| {
ErrorCode::UDFServerConnectError(format!(
"Cannot connect to UDF Server {addr}: {err}"
"Cannot connect to UDF Server {}: {:?}",
addr, err
))
})?
.max_decoding_message_size(MAX_DECODING_MESSAGE_SIZE);
Expand Down

0 comments on commit 5b0d2a1

Please sign in to comment.