Skip to content

Rescue more generic pinpoint error#6835

Merged
mitchellhenke merged 1 commit intomainfrom
margolis-rescue-more-generic-error
Aug 24, 2022
Merged

Rescue more generic pinpoint error#6835
mitchellhenke merged 1 commit intomainfrom
margolis-rescue-more-generic-error

Conversation

@zachmargolis
Copy link
Contributor

Why: because other errors were slipping through and
not being rescued correctly

changelog: Bug fixes, Multi-factor authentication, handle errors from vendors better

See: https://one.newrelic.com/nr1-core/errors/overview/MTM3NjM3MHxBUE18QVBQTElDQVRJT058NTIxMzY4NTg?account=1376370&duration=1800000&state=37783449-3874-df80-5a9f-08fc1def99cb

**Why**: because other errors were slipping through and
not being rescued correctly

changelog: Bug fixes, Multi-factor authentication, handle errors from vendors better
break if response
rescue Seahorse::Client::NetworkingError,
Aws::Pinpoint::Errors::InternalServerErrorException => error
Aws::Pinpoint::Errors::ServiceError => error
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related, we do this correctly elsewhere:

rescue Aws::Pinpoint::Errors::ServiceError,

@mitchellhenke mitchellhenke merged commit b31b442 into main Aug 24, 2022
@mitchellhenke mitchellhenke deleted the margolis-rescue-more-generic-error branch August 24, 2022 17:37
mitchellhenke pushed a commit that referenced this pull request Aug 24, 2022
**Why**: because other errors were slipping through and
not being rescued correctly

changelog: Bug fixes, Multi-factor authentication, handle errors from vendors better
zachmargolis added a commit that referenced this pull request Aug 25, 2022
**Why**: because other errors were slipping through and
not being rescued correctly

changelog: Bug fixes, Multi-factor authentication, handle errors from vendors better
(cherry picked from commit b31b442)
@aduth aduth mentioned this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants