Are you using async/await or promise's chaining?
One of your promises is not catching exceptions.
Example for async/await:
try {
const result = await doSomething();
....
} catch (error) {
console.warn(error);
}
or chaining:
doSomething
.then(e => {...})
.finally(...)
.catch(error => {...})
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…