Skip to content

Errors happening in scripts created from blob URLs are not deduplicated #2430

@kornelski

Description

@kornelski

We load scripts from Blob URLs (URL.createObjectURL(blob)), because we need it as a work around AppCache bugs (and we're stuck with AppCache because of iOS). We're also moving to running code in WebWorkers soon, and Blob URLs are a good way to launch WebWorkers without additional requests.

However, Blob URLs make our scripts appear to originate from a unique random URLs such as blob:http://app.ft.com/7f7aaadf-a006-4217-9ed5-5fbf8585c6c0, where the UUID is different every time for every user.

This seems to defeat error grouping Sentry, and since we've made this change we're drowning in duplicate errors:

screen shot 2015-12-09 at 12 57 47

Could you normalize Blob URLs and ignore the random portion?

Is there an API in Raven that would allow us to provide you a mapping from Blob URL to an HTTP URL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions