diff --git a/app/server/lib/log.ts b/app/server/lib/log.ts index b3f9e766..c1a1ebf9 100644 --- a/app/server/lib/log.ts +++ b/app/server/lib/log.ts @@ -53,6 +53,8 @@ const log: LogWithTimestamp = Object.assign(rawLog, { rawWarn: (msg: string, meta: ILogMeta) => origLog.call(log, 'warn', msg, meta), rawDebug: (msg: string, meta: ILogMeta) => origLog.call(log, 'debug', msg, meta), origLog, + add: rawLog.add.bind(rawLog), // Explicitly pass add method along - otherwise + // there's an odd glitch under Electron. }); /**