mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-02-11 11:53:01 +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));
|
||||
}
|
||||
Err(e) => {
|
||||
log::error!("Error loading map: {:?}", e);
|
||||
self.error = Some(ImString::new(e.to_string()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue