arabold / serverless-sentry-plugin

This plugin adds automatic forwarding of errors and exceptions to Sentry (https://sentry.io) and Serverless (https://serverless.com)
MIT License
155 stars 27 forks source link

Any progress on uploading source maps? #42

Closed ffxsam closed 2 years ago

ffxsam commented 3 years ago

Are there still plans to work on this? If one of the repo maintainers wants to work together on this, I'm game. Right now I have to decide between using this plugin (which rocks), or the SentryWebpackPlugin (not quite as good) which does upload source maps.

kiorq commented 3 years ago

Any update on this?

arabold commented 3 years ago

Sorry for the belated reply. There's actually no reason you couldn't use both the SentryWebpackPlugin and the serverless-sentry-plugin at the same time. In fact, I'm using already both in one of my projects. SentryWebpackPlugin runs during packaging and will upload your source maps to Sentry. The serverless-sentry-plugin allows you to simplify the integration of your Lambda JavaScript code itself with Sentry, e.g. it will automatically watch for unhandled exceptions and generate timeout warnings for you.

Having that said, there still is an advantage of adding the functionality to the serverless-sentry-plugin itself. It would simplify the setup and remove redundant options. It's still an open feature request, unfortunately. If anybody wants to pick it up for implementation, be my guest. I'm not sure if I'll get to it myself anytime soon.