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:
parent
558e3eb581
commit
9970bcc94c
@ -283,7 +283,7 @@ EOT
|
||||
begin
|
||||
str << "Body: " <<
|
||||
OZonesJSON.parse_json(value.body,
|
||||
"error")["message"]
|
||||
"error")[:message]
|
||||
rescue
|
||||
str.gsub!("\nBody:","")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user