Skip to content

Commit a8afb1f

Browse files
author
Michael Salinger
committed
Added debugging statement
1 parent 019a968 commit a8afb1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ ExpressOAuthServer.prototype.authenticate = function(options) {
5555
next();
5656
})
5757
.catch(function(e) {
58+
console.log(e);
5859
return handleError.call(this, e, req, res, null, next);
5960
});
6061
};
@@ -89,6 +90,7 @@ ExpressOAuthServer.prototype.authorize = function(options) {
8990
return handleResponse.call(this, req, res, response);
9091
})
9192
.catch(function(e) {
93+
console.log(e);
9294
return handleError.call(this, e, req, res, response, next);
9395
});
9496
};

0 commit comments

Comments
 (0)