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 2020/01/29 16:55:32 UTC

[GitHub] [openwhisk] HunderlineK opened a new issue #4809: Proper promise rejection errors

HunderlineK opened a new issue #4809: Proper promise rejection errors
URL: https://github.com/apache/openwhisk/issues/4809
 
 
   Environment: Node
   
   Currently, if the result of a cloud function run is a promise rejection, we get a generic error which can mean multiple different causes. Error messages should be as specific as possible to help debugging.
   
   ## Environment details:
   IBM Cloud
   
   ## Provide the expected results and outputs:
   If a promise is rejected, the error type will be specified as such.
   
   ## Provide the actual results and outputs:
   A generic unexpected error has happened message which is too ambiguous.
   

----------------------------------------------------------------
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

[GitHub] [openwhisk] HunderlineK closed issue #4809: Proper promise rejection errors

Posted by GitBox <gi...@apache.org>.
HunderlineK closed issue #4809: Proper promise rejection errors
URL: https://github.com/apache/openwhisk/issues/4809
 
 
   

----------------------------------------------------------------
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

[GitHub] [openwhisk] rabbah commented on issue #4809: Proper promise rejection errors

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4809: Proper promise rejection errors
URL: https://github.com/apache/openwhisk/issues/4809#issuecomment-579862557
 
 
   hi @HunderlineK - can you provide an example of the `node` function you used?

----------------------------------------------------------------
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

[GitHub] [openwhisk] HunderlineK commented on issue #4809: Proper promise rejection errors

Posted by GitBox <gi...@apache.org>.
HunderlineK commented on issue #4809: Proper promise rejection errors
URL: https://github.com/apache/openwhisk/issues/4809#issuecomment-583360374
 
 
   Hi @rabbah. I've tried to find the invocations that had this issue, but in all cases it is possible that the error might have been because we ran out of memory and I tried to produce simple cases where OOM could definitely be excluded as a cause and could not see this issue.
   
   I'm closing the ticket unless I find a solid example, thanks.

----------------------------------------------------------------
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