figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

[DX] Sentry: create an error handling utility to standardize tracking

Open cuserox opened this issue 1 year ago • 1 comments

📝 Context

  • We only use Sentry.captureException(e), ideally this should call an error service that handles data enrichment
  • Sentry does not get initialised when on the development environment - we should offer a command to allow this
  • Upgrade Sentry SDK: https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/

cuserox avatar Jun 18 '24 09:06 cuserox

Suggested Actions

  • Discuss and define what kind of data/tags would be useful for data enrichment in an error service/class
  • Research existing Sentry wrapper class implementations re data enrichment
  • Optional Sentry initialisation in developer environment (should probably be opt-in, as don't want to pollute Sentry incase of things such as infinite loops while working on plugin messaging, etc)
  • Upgrade Sentry SDK

Estimate: ~TODO~ – after discussion, need extra context re changes required

macintoshhelper avatar Jul 11 '24 15:07 macintoshhelper