Open TymanWasTaken opened 2 years ago
Hi @TymanWasTaken,
I solved it by setting the handleUncaughtExceptions
option to false
.
import sourceMapSupport from 'source-map-support'
sourceMapSupport.install({
environment: 'node',
handleUncaughtExceptions: false,
})
I have a project using sequelize and is also written in typescript, so I use this package to show the typescript files in stack traces. However, when using this, all the important parts of sequelize's errors get removed for some reason. Without source-map-support loaded:
With source-map-support loaded: