Skip to content
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

Fix: useful error message when no cross account credentials #16509

Merged
merged 1 commit into from Apr 20, 2017

Conversation

TBonnin
Copy link
Contributor

@TBonnin TBonnin commented Apr 20, 2017

Making the cross account client a def so it doesn't throw an error
during the lifecycle initialization, which leads to an useless error
message

What does this change?

Better error message when cross account credentials are not valid

[ERROR] [04/21/2017 00:23:41.583] [application-akka.actor.default-dispatcher-4] [TaskInvocation] AWS credentials for cross account are not configured
common.BadConfigurationException: AWS credentials for cross account are not configured

vs

Uncaught error from thread [application-akka.actor.default-dispatcher-5] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]
java.lang.ExceptionInInitializerError

What is the value of this and can you measure success?

Better error message. Less questions

Tested in CODE?

No

Making the cross account client a def so it doesn't throw an error
during the lifecycle initialization, which leads to an useless error
message
@TBonnin TBonnin force-pushed the tb-error-message-crossaccount-missing branch from 8b20d50 to c853882 Compare April 20, 2017 14:35
@TBonnin TBonnin requested a review from jfsoul April 20, 2017 14:58
Copy link
Contributor

@jfsoul jfsoul left a comment

Choose a reason for hiding this comment

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

Nice!

@TBonnin TBonnin merged commit 5fcfebd into master Apr 20, 2017
@TBonnin TBonnin deleted the tb-error-message-crossaccount-missing branch April 20, 2017 15:17
@prout-bot
Copy link
Collaborator

Seen on PROD (merged by @TBonnin 11 minutes and 47 seconds ago) Please check your changes!

@prout-bot
Copy link
Collaborator

Seen on PROD (merged by @TBonnin 11 minutes and 55 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants