Show error message if pattern wasn't found

This commit is contained in:
a2x
2024-05-08 13:45:58 +10:00
parent 80724bf971
commit bf2ebb716f
4 changed files with 6 additions and 4 deletions

View File

@@ -259,7 +259,7 @@ impl CodeWriter for SchemaMap {
})
.collect();
fmt.write_str(&serde_json::to_string_pretty(&content).expect("failed to serialize"))
fmt.write_str(&serde_json::to_string_pretty(&content).expect("unable to serialize json"))
}
fn write_rs(&self, fmt: &mut Formatter<'_>) -> fmt::Result {