fix: don't log enoent error

This commit is contained in:
zhongwencool 2023-06-15 17:05:51 +08:00
parent 7dade3a52c
commit c160301dbe
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ find_managed_files(Filter, Dir) ->
false ->
Acc
end;
(AbsPath, {error, enoent}, Acc) when AbsPath == Dir ->
Acc;
(AbsPath, {error, Reason}, Acc) ->
?SLOG(notice, #{
msg => "filesystem_object_inaccessible",