From 2b99647461dddf6fba2dc1d19702148718b1b7fd Mon Sep 17 00:00:00 2001 From: crowning- Date: Sat, 11 Apr 2015 15:56:20 +0200 Subject: [PATCH] Changed error handling for debugging --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index a917a7df5..f9c421c4e 100755 --- a/src/init.cpp +++ b/src/init.cpp @@ -738,7 +738,7 @@ bool AppInit2(boost::thread_group& threadGroup) boost::filesystem::copy_file(sourceFile, backupFile); LogPrintf("Creating backup of %s -> %s\n", sourceFile, backupFile); } catch(boost::filesystem::filesystem_error &error) { - LogPrintf("Failed to create backup %s\n", &error); + LogPrintf("Failed to create backup %s\n", error.what()); } } }