Make sure all error messages start with an uppercase letter

These might potentially be shown to a user, let's make them all
consistent.
This commit is contained in:
Thomas Eizinger 2021-03-04 17:25:05 +11:00
parent 816e8b9b96
commit 4138039ea0
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
16 changed files with 49 additions and 39 deletions

View file

@ -184,7 +184,7 @@ impl Behaviour {
) -> Result<()> {
self.quote
.send_response(channel, response)
.map_err(|_| anyhow!("failed to respond with quote"))?;
.map_err(|_| anyhow!("Failed to respond with quote"))?;
Ok(())
}
@ -196,7 +196,7 @@ impl Behaviour {
) -> Result<()> {
self.spot_price
.send_response(channel, response)
.map_err(|_| anyhow!("failed to respond with spot price"))?;
.map_err(|_| anyhow!("Failed to respond with spot price"))?;
Ok(())
}