-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"NoMethodError: undefined method `body' for #<Fog::DNS::AWS::Error:0x007f6c673e1720>" #112
Comments
Hmm. I wouldn't expect that to return an error though (it should raise it, in which case it should stop execution, rather than calling body). Could you share the rest of the stack trace? I think that might help narrow it down a bit easier. Thanks! |
That looks like a pretty old version of fog-aws actually, could you bump it and see if that helps? |
Ah! I didn't even notice that. I'll close and re-open if it occurs again with the latest release. |
No worries, sounds good, thanks! |
I think this is actually still an issue. Here's what happened when I used a version of
|
@tysontate @geemus I think you guys might want to re-open this... |
Re-opened! |
Same problem with fog-aws (0.4.0):
|
Looks like we were missing a raise, think the commit above should fix it, sorry for the confusion. |
Thanks @geemus , it works flawlessly |
The following line of code is not expecting a
Fog::DNS::AWS::Error
to be returned, so it's blindly calling.body
on the result ofservice.change_resource_record_sets
:fog-aws/lib/fog/aws/models/dns/record.rb
Line 44 in 5903a78
My code is doing the following:
The text was updated successfully, but these errors were encountered: