mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-17 16:39:58 +08:00
Show error message if pattern wasn't found
This commit is contained in:
@@ -55,7 +55,7 @@ impl CodeWriter for OffsetMap {
|
||||
}
|
||||
|
||||
fn write_json(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
|
||||
fmt.write_str(&serde_json::to_string_pretty(self).expect("failed to serialize"))
|
||||
fmt.write_str(&serde_json::to_string_pretty(self).expect("unable to serialize json"))
|
||||
}
|
||||
|
||||
fn write_rs(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
|
||||
|
||||
Reference in New Issue
Block a user