Skip to content

Commit

Permalink
Attach source to BadParameter error
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Sep 25, 2024
1 parent 9ed7cb2 commit 5f9842b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub(crate) enum Error {
#[error("Couldn't parse parameter {name:?}: {err:#}")]
BadParameter {
name: &'static str,
#[source]
err: serde_plain::Error,
},
#[error(transparent)]
Expand Down

0 comments on commit 5f9842b

Please sign in to comment.