Skip to content

TypeError: partialRoute.split is not a function #5481

Closed
@Michsior14

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)

Metadata

Metadata

Assignees

Labels

Package: nodeIssues related to the Sentry Node SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions