Fix printout of memoryInfo

This commit is contained in:
Johan Kwarnmark 2019-10-23 14:20:13 +02:00
parent 1e8afb17ab
commit 459281bb3d

View File

@ -32,7 +32,7 @@ class MemoryMonitor {
*/
public setMemoryInfo(memoryInfo: Electron.ProcessMemoryInfo): void {
this.memoryInfo = memoryInfo;
logger.info(`memory-monitor: setting memory info to ${memoryInfo}`);
logger.info(`memory-monitor: setting memory info to ${JSON.stringify(memoryInfo)}`);
this.validateMemory();
}