You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/astro/src/integration/index.ts
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -235,10 +235,14 @@ export function _getUpdatedSourceMapSettings(
235
235
previousUserSourceMapSetting='disabled';
236
236
updatedSourceMapSetting=viteSourceMap;
237
237
238
-
debug&&
238
+
if(debug){
239
+
// Longer debug message with more details
239
240
logger.warn(
240
241
`Source map generation is currently disabled in your Astro configuration (\`${settingKey}: false\`). This setting is either a default setting or was explicitly set in your configuration. Sentry won't override this setting. Without source maps, code snippets on the Sentry Issues page will remain minified. To show unminified code, enable source maps in \`${settingKey}\` (e.g. by setting them to \`hidden\`).`,
241
242
);
243
+
}else{
244
+
logger.warn('Source map generation is disabled in your Astro configuration.');
0 commit comments