log: Use warning level while scanning wallet dir

This commit is contained in:
MarcoFalke authored and Hodlinator committed 2025-06-13 13:55:54 +02:00
1 parent 1777644367
commit 272cd09b79
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@ class MultiWalletTest(BitcoinTestFramework):
os.mkdir(wallet_dir('no_access'))
os.chmod(wallet_dir('no_access'), 0)
try:
with self.nodes[0].assert_debug_log(expected_msgs=['Error scanning']):
with self.nodes[0].assert_debug_log(expected_msgs=["Error while scanning wallet dir"]):
walletlist = self.nodes[0].listwalletdir()['wallets']
finally:
# Need to ensure access is restored for cleanup