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

(cherry picked from commit fa61ff4e727913735179bd8345d504bf8c2439c2)
This commit is contained in:
Hector Sanjuan 2012-03-15 12:57:47 +01:00 committed by Ruben S. Montero
parent 558e3eb581
commit 9970bcc94c

View File

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