fix(ft): silence warnings when some root is not yet `mkdir`ed
This commit is contained in:
parent
5e5f854ce1
commit
079b8e9476
|
@ -257,6 +257,9 @@ read_exportinfo(
|
|||
Transfer = dirnames_to_transfer(ClientId, FileId),
|
||||
Info = mk_exportinfo(Options, Filename, RelFilepath, Transfer, Fileinfo),
|
||||
[Info | Acc];
|
||||
read_exportinfo(_Options, {node, _Root = "", {error, enoent}, []}, Acc) ->
|
||||
% NOTE: Root directory does not exist, this is not an error.
|
||||
Acc;
|
||||
read_exportinfo(Options, Entry, Acc) ->
|
||||
ok = log_invalid_entry(Options, Entry),
|
||||
Acc.
|
||||
|
|
Loading…
Reference in New Issue