data for logs

This commit is contained in:
amartynov 2015-08-18 16:27:35 +03:00
parent 630abbc68b
commit 53a1e23864

View File

@ -218,7 +218,10 @@ module Provider
'Capabilities' => ['CAPABILITY_IAM']
}
)
stack.id = response.body['StackId']
body = response.body
out << "Body: #{body.inspect}"
stack.id = body['StackId']
out << "Stack id: #{stack.id}\n"
rescue Excon::Errors::Conflict => e
raise ProviderErrors::NameConflict
rescue Excon::Errors::BadRequest => br