1
0
Fork 0
forked from lthn/blockchain

added extra info to logs

This commit is contained in:
cryptozoidberg 2020-07-11 20:00:15 +02:00
parent 1c92def934
commit 1110fb48eb
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -332,7 +332,7 @@ namespace plain_wallet
boost::filesystem::create_directory(full_target_path, ec);
if (ec)
{
LOG_ERROR("Failed to create target directory");
LOG_ERROR("Failed to create target directory(" << full_target_path << "):" << ec.message());
epee::json_rpc::response<view::api_responce_return_code, epee::json_rpc::dummy_error> ok_response = AUTO_VAL_INIT(ok_response);
ok_response.result.return_code = API_RETURN_CODE_FAIL;
return epee::serialization::store_t_to_json(ok_response);