You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/app/sa/node_modules/webtorrent/index.js:424
if (!torrent) throw new Error(`No torrent with id ${torrentId}`)
^
Error: No torrent with id [object Object]
at WebTorrent.remove (/app/sa/node_modules/webtorrent/index.js:424:25)
at WebTorrent.remove (/app/sa/node_modules/webtorrent/index.js:420:49)
at Bugout.destroy (/app/sa/node_modules/bugout/index.js:159:13)
at Connector.healthCheckRealaytorConnection (/app/sa/src/connector.js:200:17)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)
Seems webtorrent thows an error when we call remove() with a wrong id.
(for reference Line 407
We need to prevent it , maybe we can include this line inside a try catch :
I faced above error , in a reconection mechanism i have implemented in my app , so im calling bugout destroy() in an interval..
It works as expected , except this crash..
The text was updated successfully, but these errors were encountered:
Sounds good, send a PR if you want. I can merge it but I don't want to push anything to npm without basic browser testing and I don't really have time to do this myself.
Seems webtorrent thows an error when we call remove() with a wrong id.
(for reference Line 407
We need to prevent it , maybe we can include this line inside a try catch :
bugout/index.js
Line 159 in 62ddbc8
I faced above error , in a reconection mechanism i have implemented in my app , so im calling bugout destroy() in an interval..
It works as expected , except this crash..
The text was updated successfully, but these errors were encountered: