csantanapr commented on issue #96: problems with error handling URL: https://github.com/apache/incubator-openwhisk-runtime-nodejs/issues/96#issuecomment-434423324 Here is reproduce, we should add this to the list of tests to catch this earlier create a hello.js ```javascript function main(){ return new Promise((resolve, reject)=>{ let myerror = { code: 42, message: 'where is an error message' } reject(myerror) }) } ``` ``` 🐑 $ wsk action update hello hello.js ok: updated action hello ``` ``` 🐑 $ wsk action invoke hello -r { "error": "[object Object]" } ```
---------------------------------------------------------------- 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
