How to log timed out Lambda invocations
Imagine the situation. It’s 3 AM, and PagerDuty alerts you that the number of 5XX errors has spiked. Something’s wrong. Strange, there are no error logs… Fortunately, we have enabled X-Ray tracing and I’m able to quickly find one of the traces for these 5XX errors. Sadly, the traces don’t offer any explanation for the …