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-cloudant.git


The following commit(s) were added to refs/heads/master by this push:
     new 8336882  if error on authrequest invoke callback with error param 
(#187)
8336882 is described below

commit 8336882a5ba2e87b7792a77268a9afbdd9b12297
Author: Jason Peterson <jason...@us.ibm.com>
AuthorDate: Thu Nov 29 13:18:53 2018 -0500

    if error on authrequest invoke callback with error param (#187)
---
 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 4bf8e32..9a77999 100644
--- a/provider/lib/utils.js
+++ b/provider/lib/utils.js
@@ -512,7 +512,7 @@ module.exports = function(logger, triggerDB, redisClient) {
         })
         .catch(err => {
             logger.error(method, err);
-            request(options, cb);
+            cb(err);
         });
     };
 

Reply via email to