MindscapeHQ / raygun4node-aws-lambda

MIT License
2 stars 0 forks source link

Stack trace missing from example app #18

Closed sumitramanga closed 1 month ago

sumitramanga commented 1 month ago

Would this be because we need source maps? image

This is my last review point. Everything else looks good!

miquelbeltran commented 1 month ago

It has nothing to do with source maps, it's rather because this is how the raygun4node package is implemented.

To provide a stack trace automatically, we have to use send(Error) instead of send(string).

I will adjust the AWS Lambda implementation, so any string exception is wrapped in an Error before being reported.

miquelbeltran commented 1 month ago

I improved the example so it will show a more interesting stacktrace by default

image