Page MenuHomePhabricator

[backport#15917] wallet: Avoid logging no_such_file_or_directory error
ClosedPublic

Authored by majcosta on Sep 3 2020, 22:25.

Details

Summary

wallet: Avoid logging no_such_file_or_directory error (João Barbosa)

Pull request description:

Avoid logging `IsBerkeleyBtree: No such file or directory ...`. The result of `IsBerkeleyBtree` is the same since `fs::file_size()` returns 0 for non existent files.

Fix #15912.

Backport of Core PR15917

Test Plan
ninja check

Diff Detail

Event Timeline

majcosta requested review of this revision.Sep 3 2020, 22:25

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 4 2020, 01:09