Skip to content

Hapi Server type does not match Sentry's equivalent type #12703

Closed
@camsteffen

Description

@camsteffen

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/node

SDK Version

8.9.2

Framework Version

Hapi 21.3.10

Link to Sentry event

No response

SDK Setup/Reproduction Example

No response

Steps to Reproduce

Sentry.setupHapiErrorHandler(Hapi.server());

Expected Result

No Typescript error

Actual Result

TS2345: Argument of type Server<ServerApplicationState> is not assignable to parameter of type Server

Metadata

Metadata

Assignees

Labels

Package: nodeIssues related to the Sentry Node SDK

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions