1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Development: So complete error info from the driver

This commit is contained in:
Ruben S. Montero 2016-06-07 12:16:27 +02:00
parent 61fe5afc73
commit 96e1a77ffc

View File

@ -635,7 +635,13 @@ static void monitor_action(istringstream& is,
if (result != "SUCCESS")
{
oss << "Error monitoring datastore " << id << ": " << *dsinfo;
oss << "Error monitoring datastore " << id << ": " << dsinfo64;
if (!(*dsinfo).empty())
{
oss << ". Decoded info: " << *dsinfo;
}
NebulaLog::log("ImM", Log::ERROR, oss);
delete dsinfo;