Better json errors

This commit is contained in:
asonix 2020-07-10 18:06:04 -05:00
parent c4b4f13fa6
commit 261e52e551

View file

@ -33,7 +33,7 @@ pub enum MyError {
#[error("Couldn't sign string, {0}")]
Rsa(rsa::errors::Error),
#[error("Couldn't do the json thing")]
#[error("Couldn't do the json thing, {0}")]
Json(#[from] serde_json::Error),
#[error("Couldn't build signing string, {0}")]