Skip to content

Bug: Stack trace link to URL picking up trailing parenthesis #5459

Closed
@mwarkentin

Description

@mwarkentin

Environment

SaaS (https://sentry.io/)

Version

No response

Steps to Reproduce

Trigger an exception which includes a URL like:

Loading chunk app_bootstrap_initializeLocale_tsx failed.
(error: https://s1.sentry-cdn.com/_static/dist/sentry/chunks/app_bootstrap_initializeLocale_tsx.cb92d261ee5cdae6468b.js)

Here's an example.

Expected Result

After removing the ) the URL works:

image

When detecting URLs maybe we can trim special characters from the end?

Actual Result

The URL which is extracted in the stack trace will include the trailing parenthesis:

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: browserIssues related to the Sentry Browser SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions