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
1 changed files with 1 additions and 0 deletions

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