Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Improve EC2 instance role and EC2Metadata client error messages - #548

Merged
jasdel merged 2 commits into
masterfrom
i545FixmetadataError
Feb 8, 2016
Merged

jasdel merged 2 commits into
masterfrom
i545FixmetadataError

Conversation

@jasdel

@jasdel jasdel commented Feb 8, 2016

Copy link
Copy Markdown
Contributor

Improves the error messages received for EC2Metadata client requests.
The error message bodies were being dropped by the SDK and are now
included in the error returned.

Also updates the SDK to returned errors to be chained in a stack so that
nested errors are not ignored. This change updates the SDK so that the
chain of errors which occurred are all included. Instead of just the first error.

Fix #545

@jasdel
jasdel force-pushed the i545FixmetadataError branch from cdc1043 to 299b868 Compare February 8, 2016 22:54
Improves the error messages received for EC2Metadata client requests.
The error message bodies were being dropped by the SDK and are now
included in the error returned.

Fix #545
Allow returned errors to be chained in a stack so that nested errors are
not ignored. This change updates the SDK so that the chain of errors
which occurred are all included. Instead of just the first error.
@jasdel
jasdel force-pushed the i545FixmetadataError branch from 299b868 to 1dc53c8 Compare February 8, 2016 23:02
@xibz

xibz commented Feb 8, 2016

Copy link
Copy Markdown
Contributor

Looks good! :shipit:

jasdel added a commit that referenced this pull request Feb 8, 2016
Improve EC2 instance role and EC2Metadata client error messages
@jasdel
jasdel merged commit 38ff93f into master Feb 8, 2016
xibz added a commit that referenced this pull request Feb 9, 2016
@jasdel
jasdel deleted the i545FixmetadataError branch February 16, 2016 18:13
skotambkar pushed a commit to skotambkar/aws-sdk-go that referenced this pull request May 20, 2021
Services
---
* Synced the V2 SDK with latest AWS service API definitions.

Breaking Changes
---
* Removed prototype and experiment types from master branch of SDK.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants