Skip to content

Commit

Permalink
Fixed error where promse .catch did not show the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Deishelon committed Dec 17, 2018
1 parent e1bb925 commit 91dba55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Verifier.prototype.verify = function(finalUrl){
resultInfo.errorMessage = errorMessage

//console.log(resultInfo);
reject(Error(resultInfo));
reject(resultInfo);
}

}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "google-play-billing-validator",
"version": "2.0.0",
"version": "2.0.1",
"description": "Server side for (Node.js) solution to validate Google Play Purchases and Subscriptions",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 91dba55

Please sign in to comment.