diff --git a/src/utils/logging/index.ts b/src/utils/logging/index.ts index 6765e5121..904f06c4a 100644 --- a/src/utils/logging/index.ts +++ b/src/utils/logging/index.ts @@ -10,12 +10,13 @@ export function addLogLine(log: string) { if (isDEVSentryENV()) { console.log(log); } - saveLogLine({ - timestamp: Date.now(), - logLine: log, - }); if (isElectron()) { ElectronService.logToDisk(log); + } else { + saveLogLine({ + timestamp: Date.now(), + logLine: log, + }); } }