Open driskell opened 1 year ago
Very good point, we can probably add that information here:
Feel free to open up a PR if you have time!
I can get a PR in for this enhancement if @driskell hasn't already got something in the works.
I can get a PR in for this enhancement if @driskell hasn't already got something in the works.
Nothing in the works currently. Thank you if you do have time to do it.
Description:
When a lambda invoke error occurs, you get an error like follows in CloudWatch:
However, the stack is only showing the stack - not the current context of the error. In this case we called CustomCode->handle but there is no notification of the file that is in, nor the line number the error occurred on. Some errors raised by PHP contain this information where in the message it says (on line X in Y) but some errors do not (not entirely sure why to be honest!).
How to reproduce:
PHP 8.0 Access array offset on null and see if the line number appears