This is an automated email from the ASF dual-hosted git repository.
japetrsn pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-alarms.git
The following commit(s) were added to refs/heads/master by this push:
new e16e8f3 if error on authrequest invoke callback with error param
(#169)
e16e8f3 is described below
commit e16e8f355591f26b54e561f7f360f356e9243e40
Author: Jason Peterson <[email protected]>
AuthorDate: Thu Nov 29 13:18:49 2018 -0500
if error on authrequest invoke callback with error param (#169)
---
provider/lib/utils.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/provider/lib/utils.js b/provider/lib/utils.js
index ef0717c..b62f31b 100644
--- a/provider/lib/utils.js
+++ b/provider/lib/utils.js
@@ -510,7 +510,7 @@ module.exports = function(logger, triggerDB, redisClient) {
})
.catch(err => {
logger.error(method, err);
- request(options, cb);
+ cb(err);
});
};