mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-11-26 22:32:07 +00:00
print out the error to console when map loading fails
This commit is contained in:
parent
ab96582091
commit
f12a619669
|
|
@ -99,6 +99,7 @@ impl LiveDebugger {
|
||||||
state.next_scene = Some(Box::new(scene));
|
state.next_scene = Some(Box::new(scene));
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
log::error!("Error loading map: {:?}", e);
|
||||||
self.error = Some(ImString::new(e.to_string()));
|
self.error = Some(ImString::new(e.to_string()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue