mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-16 15:58:06 -04:00
Improve logging
This commit is contained in:
parent
4bf68ddb06
commit
f02cc0fbfd
@ -478,7 +478,8 @@ scanner_<LoggerPolicy>::scan_tree(const std::string& path, progress& prog,
|
||||
|
||||
prog.dirs_scanned++;
|
||||
} catch (const std::system_error& e) {
|
||||
LOG_ERROR << "cannot open directory: " << e.what();
|
||||
LOG_ERROR << "cannot read directory `" << path
|
||||
<< "`: " << folly::exceptionStr(e);
|
||||
prog.errors++;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user