solana-labs/solana-web3.js

Coalescer is not handling an explicit abort exception, and it's bubbling up uncaught

Closed this issue · 3 comments

Repro: https://codesandbox.io/p/sandbox/solana-javascript-sdk-release-candidate-3-demo-42pnj4?file=%2Fsrc%2Findex.ts%3A14%2C19

Uncaught EXPLICIT_ABORT_TOKEN:

This object is thrown from the request that underlies a series of coalesced requests when the last request in that series aborts

image

Ooooh. Actually, upon reflection, I really hope this is just owing to Codesandbox hot reloading. I took a look at the code and it appears to be impossible to break in this way.

Yeah, nevermind. This was because of Parcel hot reload or whatever re-running the module factory of the code where EXPLICIT_ABORT_TOKEN was created, breaking the try/catch that was supposed to keep it from bubbling up.

Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.