Skip to content

TypeError: partialRoute.split is not a function #5481

Description

@Michsior14

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/tracing

SDK Version

7.8.0

Framework Version

express 4.18.1, node 16.15.0

Link to Sentry event

No response

Steps to Reproduce

  1. Update @sentry/tracing to 7.8.0.
  2. Start the app
  3. Wait for incoming request

Expected Result

Requests to the server are processes properly without any errors.

Actual Result

Each request fails with the following error (probably related to #5450):

TypeError: partialRoute.split is not a function
at Function.process_params (./main.js:2:1855298)
at next (./main.js:2:2554914)
at Function.handle (./main.js:2:2553813)
at router (./main.js:2:2552432)
at ./main.js:2:1853557
at Layer.handle [as handle_request] (./main.js:2:2560503)
at trim_prefix (./main.js:2:2555773)
at ./main.js:2:2555055
at Function.process_params (./main.js:2:2555954)
at Function.process_params (./main.js:2:1856043)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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