Skip to content

Improve Sentry exception handling #467

@namoscato

Description

@namoscato

Expected Behavior

Ever since we fixed the Sentry integration, we've certainly been seeing exceptions flow through – they're just not very helpful.

Current Behavior

This is what most of them look like:

Screen Shot 2021-11-11 at 10 13 18 AM

Possible Solution

Here are a few ideas:

  1. Move to Sentry.captureMessage given that the current objects passed to captureException are clearly not Errors
  2. Remove the Sentry integration entirely (and just let users configure this in their application)

Steps to Reproduce (for bugs)

I can try to come up with an example Sentry event (without sensitive information) if necessary.

Additional Screenshots

Screen Shot 2021-11-11 at 10 17 45 AM

Context

Ultimately, we'd like to better understand / diagnose Filestack picker upload-related errors. This includes better fingerprinting in addition to exception context.

Your Environment

  • Version used: 3.25.0
  • Browser Name and version: Chrome Version 95.0.4638.69
  • Operating System and version (desktop or mobile): macOS Version 12.0.1
  • Link to your project: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions