willowtreeapps / wombats-lambda

0 stars 1 forks source link

Wrap the response in an error object #1

Closed oconn closed 7 years ago

oconn commented 7 years ago

@dehli I added errors to the response payload to support debugging from the client

dehli commented 7 years ago

Awesome! This looks sweet. I'll get this merged and uploaded to lambda.

dehli commented 7 years ago

Just updated the lambda function @oconn. I'm gonna have to work on it a little to get errors sent back. Right now it's barfing b/c it can't cast the exception to a json object.

oconn commented 7 years ago

@dehli Ah makes sense, but it'll still handle successful code execution right?

dehli commented 7 years ago

yup! @oconn