make the config error display a bit nicer

This commit is contained in:
endernon 2024-11-05 20:04:11 +00:00
parent 9c51da97a8
commit 05f85641da

View file

@ -8,7 +8,7 @@ pub enum Errorfr {
ItemJsonMissing, ItemJsonMissing,
/// item config json is corrupt /// item config json is corrupt
#[error("Error 2: item config json is corrupt, Reread config.md\n{0:?}")] #[error("Error 2: item config json is corrupt, Reread config.md\n{0}")]
ItemJsonCorrupt(serde_json::Error), ItemJsonCorrupt(serde_json::Error),
/// idmap is missing /// idmap is missing