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/rpc/protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc') 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)); } } -- cgit v1.2.3