tardieu opened a new issue #2699: Output dictionary with error field
URL: https://github.com/apache/incubator-openwhisk/issues/2699
 
 
   When an action outputs a dictionary with an `error` field, the other fields 
are dropped from the output dictionary, for example:
   
   ```
   $ wsk action invoke /whisk.system/utils/echo -br -p statusCode 404 -p error 
foo -p message bar
   {
       "error": "foo"
   }
   ```
   
   This is confusing and forces the action programmer to carefully wrap and 
unwrap things like error codes. I would prefer all the fields to be preserved.
   
   This appears to be related to closed issue #40. The last comment on the 
issue suggests that it was fixed, but I don't understand if and how it was 
fixed.
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to