aboutsummaryrefslogtreecommitdiff
path: root/src/chat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/chat.rs')
-rw-r--r--src/chat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat.rs b/src/chat.rs
index 550c9ce..59b9097 100644
--- a/src/chat.rs
+++ b/src/chat.rs
@@ -973,7 +973,7 @@ impl super::Deserialize for Chat {
String::mc_deserialize(data)?.try_map(move |raw| {
serde_json::from_str(raw.as_str()).map_err(move |err|
super::DeserializeErr::FailedJsonDeserialize(format!(
- "failed to serialize chat as JSON :: {:?}", err
+ "failed to deserialize chat from JSON '{}' :: {:?}", raw, err
)))
})
}