aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/protocol.cpp
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-09-11 02:08:56 +0800
committerChun Kuan Lee <ken2812221@gmail.com>2018-09-11 03:11:39 +0800
commite2213689328f8ba42af1d32d12c7b78a71f1ddc7 (patch)
treeba99e353bfa32fe4e0ee0ed86480acfc9a9e7654 /src/rpc/protocol.cpp
parent6eeac2e628b5332dcaee60e5c83861c94e44d04d (diff)
downloadbitcoin-e2213689328f8ba42af1d32d12c7b78a71f1ddc7.tar.xz
utils: Convert fs error messages from multibyte to utf-8
Diffstat (limited to 'src/rpc/protocol.cpp')
-rw-r--r--src/rpc/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/protocol.cpp b/src/rpc/protocol.cpp
index dab63ab263..55bebb5662 100644
--- a/src/rpc/protocol.cpp
+++ b/src/rpc/protocol.cpp
@@ -128,7 +128,7 @@ void DeleteAuthCookie()
try {
fs::remove(GetAuthCookieFile());
} catch (const fs::filesystem_error& e) {
- LogPrintf("%s: Unable to remove random auth cookie file: %s\n", __func__, e.what());
+ LogPrintf("%s: Unable to remove random auth cookie file: %s\n", __func__, fsbridge::get_filesystem_error_message(e));
}
}