Changed error handling for debugging

This commit is contained in:
crowning- 2015-04-11 15:56:20 +02:00
parent 7b8e729cb0
commit 2b99647461

View File

@ -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());
}
}
}