tweak canceled message

This commit is contained in:
Aleksey Kladov 2018-12-21 11:08:43 +03:00
parent f1fafeee02
commit b7d8bf1262
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ pub type Cancelable<T> = Result<T, Canceled>;
impl std::fmt::Display for Canceled {
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
fmt.write_str("Canceled")
fmt.write_str("canceled")
}
}

View File

@ -387,7 +387,7 @@ impl<'a> PoolDispatcher<'a> {
RawResponse::err(
id,
ErrorCode::ContentModified as i32,
e.to_string(),
format!("content modified: {}", e),
)
} else {
RawResponse::err(