Skip to content

Commit

Permalink
fix StripeError handling
Browse files Browse the repository at this point in the history
  • Loading branch information
James Padolsey committed Oct 17, 2013
1 parent 2fef074 commit 4f7ef7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/StripeResource.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ StripeResource.prototype = {
if (res.statusCode === 401) {
err = new Error.StripeAuthenticationError(response.error);
} else {
Error.StripeError.generate(response.error)
err = Error.StripeError.generate(response.error);
}
return callback(err, null);
}
Expand Down

0 comments on commit 4f7ef7e

Please sign in to comment.