I don't know if this is my personal mistake or something in the source code. I followed the example here: https://github.com/eawsy/aws-lambda-go-shim, trying to return custom error when something goes wrong. However, in CloudWatch logs I always see errors returned, even after I removed all my business logic in the handler.
I don't know if this is my personal mistake or something in the source code. I followed the example here: https://github.com/eawsy/aws-lambda-go-shim, trying to return custom error when something goes wrong. However, in CloudWatch logs I always see errors returned, even after I removed all my business logic in the handler.
I mean even the code above will return error in CloudWatch log:
Did I do sth wrong?