mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Currently if Lambda functions have a timeout then you will not see any errors in Cloudwatch, while the user gets a 200 http response code with `{ errorMessage: 'Task timed out in 10.0 s'}`.
This change will show 5XX errors in Cloudwatch.
To support this I need to copy all the default patterns in `serverless.yml` per function, so therefore I think this need to be a default setting, while this is not caused by the Serverless(/our) code but by AWS Lambda itself.