Skip to content

Aborting parallel requests causes unhandled rejections #350

Description

@Woofenator

Environment

  • SDK Version: 0.12.22
  • Node Version: v22.17.1
  • OS: Kubuntu 25.10
  • Kernel Version: 6.17.0-22-generic (64-bit)

Expected outcome

All parallel requests that are still in flight get aborted with a DOMException that gets neatly caught by the try...catch block.

Actual outcome

Parallel requests get aborted, but an unhandled rejection is also raised, which, depending on implementation and flags, causes the node process to quit

Proof of concept code

See repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions