mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
@@ -28,7 +28,12 @@ exports.initialize = function (loaderConfig) {
|
||||
} catch (err) {
|
||||
// missing source map...
|
||||
}
|
||||
return instrumenter.instrumentSync(contents, source, map);
|
||||
try {
|
||||
return instrumenter.instrumentSync(contents, source, map);
|
||||
} catch (e) {
|
||||
console.error(`Error instrumenting ${source}: ${e}`);
|
||||
throw e;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user