Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Handle AbortError #524

Open
proxyof opened this issue Jul 3, 2024 · 0 comments
Open

How to Handle AbortError #524

proxyof opened this issue Jul 3, 2024 · 0 comments

Comments

@proxyof
Copy link

proxyof commented Jul 3, 2024

What version of this package are you using?
11.0.2

What operating system, Node.js, and npm version?
v22.1.0, npm: 10.7.0

What happened?
Program is terminating with error while running announce command

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^
DOMException [AbortError]: This operation was aborted
    at new DOMException (node:internal/per_context/domexception:53:5)
    at AbortController.abort (node:internal/abort_controller:395:18)
    at Timeout._onTimeout (file:///app/torrent-tracker/node_modules/bittorrent-tracker/lib/client/http-tracker.js:17:16)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

What did you expect to happen?
client error callback need to be called ?

Are you willing to submit a pull request to fix this bug?
No (Can submit with guidance on how to fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant