We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4025cbc commit 2e027a5Copy full SHA for 2e027a5
1 file changed
catalogs/iceberg-rest-catalog/src/error.rs
@@ -9,7 +9,7 @@ Error conversion
9
impl<T> From<apis::Error<T>> for Error {
10
fn from(val: apis::Error<T>) -> Self {
11
match val {
12
- apis::Error::Reqwest(err) => Error::InvalidFormat(err.to_string()),
+ apis::Error::Reqwest(err) => Error::External(err.into()),
13
apis::Error::Serde(err) => Error::JSONSerde(err),
14
apis::Error::Io(err) => Error::IO(err),
15
apis::Error::ResponseError(ResponseContent {
0 commit comments