Skip to content

Commit e852813

Browse files
committed
fix(plugin-manager): Enable "rejectOnError" in debug
1 parent 36b714b commit e852813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bundler-plugin-core/src/build-plugin-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ export function createSentryBuildPluginManager(
555555
const cliInstance = createCliInstance(options);
556556
await cliInstance.execute(
557557
["sourcemaps", "inject", ...buildArtifactPaths],
558-
options.debug ?? false
558+
options.debug ? 'rejectOnError' : false
559559
);
560560
} catch (e) {
561561
sentryScope.captureException('Error in "debugIdInjectionPlugin" writeBundle hook');

0 commit comments

Comments
 (0)