Check the err return from generateAccessToken() #106

Merged
merged 1 commit into from Jun 19, 2012

Conversation

Projects
None yet
2 participants
Contributor

evanp commented May 29, 2012

We weren't checking the err result from the OAuth provider's
generateAccessToken(), which would cause reference errors if the
result was null or undefined.

Now, check it, and return an error if there is one.

Check the err return from generateAccessToken()
We weren't checking the err result from the OAuth provider's
generateAccessToken(), which would cause reference errors if the
result was null or undefined.

Now, check it, and return an error if there is one.

ciaranj added a commit that referenced this pull request Jun 19, 2012

Merge pull request #106 from evanp/CheckGenerateAccessTokenErr
Check the err return from generateAccessToken()

@ciaranj ciaranj merged commit b2dcc61 into ciaranj:master Jun 19, 2012

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