1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Bug #1168: Fix error reporting in Ozones client

This commit is contained in:
Hector Sanjuan 2012-03-15 12:57:47 +01:00
parent 9440964938
commit fa61ff4e72

View File

@ -283,7 +283,7 @@ EOT
begin
str << "Body: " <<
OZonesJSON.parse_json(value.body,
"error")["message"]
"error")[:message]
rescue
str.gsub!("\nBody:","")
end