Have source map in db in advance and try to get location as source map consumer when error occurs If you put the source map information in the consumer, the information on the completely different page comes out, is there a solution?
async function getSource(sourcemap) {
const consumer = await new sourceMap.SourceMapConsumer(sourcemap);
const location = consumer.originalPositionFor({
line: 46,
column: 10,
});
consumer.destroy();
console.log(location);
}