8000 `unhandledRejection` being triggered even if exceptions are being caught. · Issue #700 · linear/linear · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
unhandledRejection being triggered even if exceptions are being caught. #700
Closed
@pavkam

Description

@pavkam

I have a simple code that calls the Linear SDK to get some issue details. When there is an exception, it gets caught by my code. But I noticed that unhandledRejection gets triggered in some cases.

I traced the origin here:
https://github.com/linear/linear/blob/22e57323cdbf66d21f73861353e7a901244f79b6/packages/sdk/src/client.ts#L65C9-L65C39

I think the original exception is leaked?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0