From e2213689328f8ba42af1d32d12c7b78a71f1ddc7 Mon Sep 17 00:00:00 2001 From: Chun Kuan Lee Date: Tue, 11 Sep 2018 02:08:56 +0800 Subject: utils: Convert fs error messages from multibyte to utf-8 --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet.cpp') diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index de707a09f..690c7936d 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3849,7 +3849,7 @@ bool CWallet::Verify(std::string wallet_file, bool salvage_wallet, std::string& return false; } } catch (const fs::filesystem_error& e) { - error_string = strprintf("Error loading wallet %s. %s", wallet_file, e.what()); + error_string = strprintf("Error loading wallet %s. %s", wallet_file, fsbridge::get_filesystem_error_message(e)); return false; } -- cgit v1.2.3