File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ if (ENV.SENTRY_ORGANIZATION_SLUG.includes('SENTRY_ORGANIZATION')) {
5353}
5454
5555// Uncomment the next line to remove popup warning/error boxes.
56- // LogBox.ignoreAllLogs()
56+ if ( ! ENV . DEBUG_LOGBOX ) LogBox . ignoreAllLogs ( )
5757LogBox . ignoreLogs ( [
5858 'Require cycle:' ,
5959 'Attempted to end a Span which has already ended.'
Original file line number Diff line number Diff line change @@ -422,6 +422,7 @@ export const asEnvConfig = asObject({
422422 DEBUG_PLUGINS : asOptional ( asBoolean , false ) ,
423423 DEBUG_ACCOUNTBASED : asOptional ( asBoolean , false ) ,
424424 DEBUG_EXCHANGES : asOptional ( asBoolean , false ) ,
425+ DEBUG_LOGBOX : asOptional ( asBoolean , true ) ,
425426 DEBUG_VERBOSE_ERRORS : asOptional ( asBoolean , false ) ,
426427 DEBUG_THEME : asOptional ( asBoolean , false ) ,
427428 MUTE_CONSOLE_OUTPUT : asOptional (
You can’t perform that action at this time.
0 commit comments