mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-10 07:20:07 -04:00
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:
parent
816e8b9b96
commit
4138039ea0
16 changed files with 49 additions and 39 deletions
|
@ -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(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue