mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-05-01 00:31:09 +00:00
fix(blahd): fix error message formating
This commit is contained in:
parent
458f4b163f
commit
5f29b23f9d
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ macro_rules! define_from_deser_rejection {
|
|||
$(
|
||||
impl From<$ty> for ApiError {
|
||||
fn from(rej: $ty) -> Self {
|
||||
ApiError::InvalidRequest(format!(concat!("invalid ", $name, "{}"), rej).into())
|
||||
ApiError::InvalidRequest(format!(concat!("invalid ", $name, ": {}"), rej).into())
|
||||
}
|
||||
}
|
||||
)*
|
||||
|
|
Loading…
Add table
Reference in a new issue