1
0
Fork 0
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:
Alula 2020-08-26 03:07:04 +02:00
parent ab96582091
commit f12a619669
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -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()));
}
}