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),
|
Transfer = dirnames_to_transfer(ClientId, FileId),
|
||||||
Info = mk_exportinfo(Options, Filename, RelFilepath, Transfer, Fileinfo),
|
Info = mk_exportinfo(Options, Filename, RelFilepath, Transfer, Fileinfo),
|
||||||
[Info | Acc];
|
[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) ->
|
read_exportinfo(Options, Entry, Acc) ->
|
||||||
ok = log_invalid_entry(Options, Entry),
|
ok = log_invalid_entry(Options, Entry),
|
||||||
Acc.
|
Acc.
|
||||||
|
|
Loading…
Reference in New Issue