Skip to content

Commit

Permalink
Merge pull request #78 from xlab-si/response-dump
Browse files Browse the repository at this point in the history
Dump a complete response on provisioning error
  • Loading branch information
agrare authored Jun 24, 2019
2 parents 4083eff + e2743b4 commit ef1f0ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def next_boot_using_pxe
}
}
)
raise MiqException::MiqProvisionError, "Cannot override boot order: #{response.data[:body]}" if response.status >= 400
raise MiqException::MiqProvisionError, "Cannot override boot order: #{response}" if response.status >= 400
end
end

Expand Down

0 comments on commit ef1f0ea

Please sign in to comment.