Replies: 1 comment 2 replies
-
Hi! I'm very surprised you didn't see any logs in cloudwatch, are you sure you checked in the right function/log stream? Any crash should lead to an error. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On one of my functions, I forgot to autoload the composer dependencies.
Question: Is there a way to capture fatal errors in the cloudwatch logs so I'm not forced to go hunting for problems (especially on larger projects)? The issue could be seen instantly in the apache2 error logs, so i'm hoping for something similar here.
Thank you!!! 🙏🙏🙏🙏🙏
PHP Fatal error: Uncaught Error: Class "Bref\Logger\StderrLogger" not found in /Users/erol/Desktop/vagrant-app/linkedinbot/lambdaHandler.php:8
Stack trace:
Beta Was this translation helpful? Give feedback.
All reactions