The promise chain is broken but the error isn't caught (unless attach is called on the chain call). If we can use trivial-garbage to detect these dangling chains and run some sort of callback, it would aid in the debugging of improperly handled chains.
Take this example:
The promise chain is broken but the error isn't caught (unless
attach
is called on thechain
call). If we can use trivial-garbage to detect these dangling chains and run some sort of callback, it would aid in the debugging of improperly handled chains.