Skip to content

@sentry/ember throws exception when handling rootURLs #2977

@jonchay

Description

@jonchay

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/ember

Version:

5.26.0

Description

I'm using @sentry/ember package, in our Ember application we specify a rootURL for our ember application to host on that specific path (e.g. https://www.domain.com/ember-app/)

When we ran the application an error throws from sentry-performance from this line:

Error: Assertion Failed: You must pass a url that begins with the application's rootURL "/ember-app/"

But the url it was handling is /. If I'm not mistaken, when we pass a url to routerService.recognize we have to prefix with the rootURL.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions