Skip to content

Commit

Permalink
return better status when flight request fails
Browse files Browse the repository at this point in the history
  • Loading branch information
milenkovicm committed Feb 18, 2025
1 parent d366b13 commit ca7d13b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ballista/executor/src/flight_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ where
if let SendError(Err(err)) = err {
err
} else {
FlightError::Tonic(Status::internal(
"Can't send a batch, something went wrong",
))
FlightError::Tonic(Status::internal(format!(
"Can't send a batch, something went wrong: {err:?}"
)))
}
})?
}
Expand Down

0 comments on commit ca7d13b

Please sign in to comment.