dubeejw commented on a change in pull request #3421: Add ElasticSearch Log Store
URL: 
https://github.com/apache/incubator-openwhisk/pull/3421#discussion_r174313574
 
 

 ##########
 File path: core/controller/src/main/scala/whisk/core/controller/ApiUtils.scala
 ##########
 @@ -184,7 +184,11 @@ trait ReadOps extends Directives {
     onComplete(factory.get(datastore, docid)) {
       case Success(entity) =>
         logging.debug(this, s"[PROJECT] entity success")
-        complete(OK, project(entity))
+
+        onComplete(project(entity)) {
 
 Review comment:
   Displays error thrown from log store `fetchLogs`.

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


With regards,
Apache Git Services

Reply via email to