Skip to content

Commit 4174f98

Browse files
add reason why annotate plugin can't be used in the warning
1 parent 35a0038 commit 4174f98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/js/tools/metroconfig.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ export function withSentryBabelTransformer(config: MetroConfig): MetroConfig {
105105

106106
if (!defaultBabelTransformerPath) {
107107
// eslint-disable-next-line no-console
108-
console.warn('Sentry Babel transformer cannot be used. Not adding it ...');
108+
console.warn('`transformer.babelTransformerPath` is undefined.');
109+
// eslint-disable-next-line no-console
110+
console.warn('Sentry Babel transformer cannot be used. Not adding it...');
109111
return config;
110112
}
111113

0 commit comments

Comments
 (0)