mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Edit log message as suggested
This commit is contained in:
parent
287896facd
commit
8cf871f449
@ -38,7 +38,11 @@ impl Source for FileSystem {
|
||||
Err(err) => {
|
||||
if err.kind() != io::ErrorKind::NotFound {
|
||||
let path = dir.path_of(DirEntry::File(id, ext));
|
||||
tracing::warn!("Error reading \"{}\": {}", path.display(), err);
|
||||
tracing::warn!(
|
||||
"Error reading \"{}\": {}. Falling back to default",
|
||||
path.display(),
|
||||
err
|
||||
);
|
||||
}
|
||||
},
|
||||
}
|
||||
@ -55,7 +59,11 @@ impl Source for FileSystem {
|
||||
Err(err) => {
|
||||
if err.kind() != io::ErrorKind::NotFound {
|
||||
let path = dir.path_of(DirEntry::Directory(id));
|
||||
tracing::warn!("Error reading \"{}\": {}", path.display(), err);
|
||||
tracing::warn!(
|
||||
"Error reading \"{}\": {}. Falling back to default",
|
||||
path.display(),
|
||||
err
|
||||
);
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user