Skip to content

Commit

Permalink
PB-747: Enabled logs on PROD to try to understand the blank screen issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ltshb committed Jul 4, 2024
1 parent 0cd4770 commit b35084f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utils/logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ export const LogLevel = {
*/
const log = (level, ...message) => {
// In production we don't log debug level and info level
if (ENVIRONMENT === 'production' && ![LogLevel.ERROR, LogLevel.WARNING].includes(level)) {
// TODO PB-747: remove info and debug level once we found the blank screen issue
if (
ENVIRONMENT === 'production' &&
![LogLevel.ERROR, LogLevel.WARNING, LogLevel.INFO, LogLevel.DEBUG].includes(level)
) {
return
}

Expand Down

0 comments on commit b35084f

Please sign in to comment.