Skip to content

Commit

Permalink
Update snafu
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse-Bakker committed Jun 24, 2024
1 parent 29c07d0 commit 4c9ea7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion object_store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ humantime = "2.1"
itertools = "0.13.0"
parking_lot = { version = "0.12" }
percent-encoding = "2.1"
snafu = "0.7"
snafu = { version = "0.8", default-features = false, features = ["std", "rust_1_61"] }
tracing = { version = "0.1" }
url = "2.2"
walkdir = "2"
Expand Down
2 changes: 1 addition & 1 deletion object_store/src/client/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ enum GetResultError {
source: crate::client::header::Error,
},

#[snafu(context(false))]
#[snafu(context(false), display("InvalidRangeRequest: {source}"))]
InvalidRangeRequest {
source: crate::util::InvalidGetRange,
},
Expand Down

0 comments on commit 4c9ea7c

Please sign in to comment.