mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
core: use debug format for logging errors
Show the full cause stack.
This commit is contained in:
parent
0f308788ef
commit
1143396068
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ pub trait TileMerger {
|
|||
let timestamp = match fs::modified_timestamp(&source_path) {
|
||||
Ok(timestamp) => timestamp,
|
||||
Err(err) => {
|
||||
warn!("{}", err);
|
||||
warn!("{:?}", err);
|
||||
return None;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -127,7 +127,7 @@ where
|
|||
Ok(source) => source,
|
||||
Err(err) => {
|
||||
warn!(
|
||||
"Failed to read source image {}: {}",
|
||||
"Failed to read source image {}: {:?}",
|
||||
source_path.display(),
|
||||
err,
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue