-
-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Labels
Description
Description:
Since upgrading to brefv2, i'm no longer seeing error messages in the cloudwatch logs.
For example:
- I introduce a syntax error in one of my endpoints
- I hit an endpoint to invoke the php script via http handler
- The client gets a 500 error, but there's no error message that's sent to both the client and the cloudwatch logs. I can see a default error setting suppressing errors in prod, but without these going to cloudwatch I have no idea what the error is.
This only started happening after the upgrade from brefv1 to brefv2.
Am I doing something wrong?
serverless.yml
plugins:
- ./vendor/bref/bref
- ./vendor/bref/extra-php-extensions
functions:
api:
handler: lambdaHandler.php
description: ''
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds)
memorySize: 256
runtime: php-83-fpm
layers:
- ${bref-extra:redis-php-83}
events:
- httpApi: '*'