mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
be a little bit more helpful than "Error reading directory."
make a note to try to be more helpful still. svn:r13776
This commit is contained in:
parent
eefe2a3562
commit
04efc74e18
@ -2108,7 +2108,8 @@ tor_listdir(const char *dirname)
|
||||
}
|
||||
if (!FindNextFile(handle, &findData)) {
|
||||
if (GetLastError() != ERROR_NO_MORE_FILES) {
|
||||
log_warn(LD_FS, "Error reading directory.");
|
||||
/* XXX021 can we say what the error is? */
|
||||
log_warn(LD_FS, "Error reading directory '%s'.", dirname);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user