diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/main/index.ts | 2 | ||||
| -rw-r--r-- | gui/src/shared/logging.ts | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index f6c3d58f3f..60ddcce4bc 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -226,7 +226,7 @@ class ApplicationMain { this.initLogging(); - log.debug(`Chromium sandbox disabled: ${SANDBOX_DISABLED}`); + log.debug(`Chromium sandbox is ${SANDBOX_DISABLED ? 'disabled' : 'enabled'}`); if (!SANDBOX_DISABLED) { app.enableSandbox(); } diff --git a/gui/src/shared/logging.ts b/gui/src/shared/logging.ts index f8c71fc41e..d87778bf13 100644 --- a/gui/src/shared/logging.ts +++ b/gui/src/shared/logging.ts @@ -56,7 +56,9 @@ export class Logger { try { await maybePromise; } catch (e) { - console.error(`${output.constructor.name}.write: ${e.message}`); + console.error( + `${output.constructor.name}.write: ${e.message}. Original message: ${message}`, + ); } } }); |
