Merge #308
308: tweak canceled message r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
f897de5b78
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
impl std::fmt::Display for Canceled {
|
impl std::fmt::Display for Canceled {
|
||||||
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
fmt.write_str("Canceled")
|
fmt.write_str("canceled")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -387,7 +387,7 @@ fn on<'b, R>(
|
|||||||
RawResponse::err(
|
RawResponse::err(
|
||||||
id,
|
id,
|
||||||
ErrorCode::ContentModified as i32,
|
ErrorCode::ContentModified as i32,
|
||||||
e.to_string(),
|
format!("content modified: {}", e),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
RawResponse::err(
|
RawResponse::err(
|
||||||
|
Loading…
Reference in New Issue
Block a user