Improve error message

YMMV but I think this sounds better.
This commit is contained in:
Thomas Eizinger 2021-02-26 17:03:38 +11:00
parent bbbe5f7ae8
commit 3d2d447fba
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

View File

@ -85,7 +85,9 @@ impl Behaviour {
) -> Result<()> {
self.rr
.send_response(channel, msg)
.map_err(|_| anyhow!("Sending quote response failed"))
.map_err(|_| anyhow!("failed to send quote response"))?;
Ok(())
}
}