You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/03/06 09:40:21 UTC

[GitHub] [incubator-openwhisk] markusthoemmes commented on a change in pull request #4325: Add error log when fetching an action from cloudant fails

markusthoemmes commented on a change in pull request #4325: Add error log when fetching an action from cloudant fails
URL: https://github.com/apache/incubator-openwhisk/pull/4325#discussion_r262860816
 
 

 ##########
 File path: core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/InvokerReactive.scala
 ##########
 @@ -244,7 +244,8 @@ class InvokerReactive(
                     ActivationResponse.applicationError(Messages.actionRemovedWhileInvoking)
                   case _: DocumentTypeMismatchException | _: DocumentUnreadable =>
                     ActivationResponse.whiskError(Messages.actionMismatchWhileInvoking)
-                  case _ =>
+                  case e =>
+                    logging.error(this, s"${Messages.actionFetchErrorWhileInvoking} Error: ${e.getMessage}")
 
 Review comment:
   Isn't the error already printed by the database layer? If not: Should it be put there?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services