Skip to content

Conversation

@hiranya911
Copy link
Contributor

Porting error handling improvement from firebase/firebase-admin-node#246

Reading error code from the details section of the HTTP response when available.

}

@Test
public void testNullMessage() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

did you remove the throws on purpose? (I'm good either way, but the next test has it)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the compiler flagged this as redundant. Other tests call methods that throw checked exceptions.

Copy link
Contributor

@avishalom avishalom 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 assigned hiranya911 and unassigned avishalom Mar 30, 2018
@hiranya911 hiranya911 merged commit a580111 into master Mar 30, 2018
@hiranya911 hiranya911 deleted the hkj-fcm-error branch March 30, 2018 16:39
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