Skip to content

Conversation

@hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Apr 21, 2017

Throwing IOExceptions from the factory methods in FirebaseCredentials class. These methods used to hold on to the exception, and then throw it at a later time which resulted in confusing error handling semantics. Instead this PR changes the API to throw any encountered exceptions immediately thereby providing much simpler fail fast semantics. This is a breaking change and the PR is drawn against a special io2017 branch.

Copy link

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

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

LGTM.

@hiranya911 hiranya911 merged commit 08c3d32 into io2017 Apr 21, 2017
@hiranya911 hiranya911 self-assigned this Apr 21, 2017
@hiranya911 hiranya911 deleted the hkj-credential-api branch April 21, 2017 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants