Stringified mem report (#10167)

* Stringified mem report

* Passed info
This commit is contained in:
Keith Holliday
2018-03-23 10:19:24 -05:00
committed by GitHub
parent ddec458364
commit 99852fcd89

View File

@@ -7,8 +7,8 @@ import http from 'http';
import memwatch from 'memwatch-next';
memwatch.on('leak', (info) => {
const message = `Memory leak detected:\n${info}`;
logger.error(message);
const message = 'Memory leak detected.';
logger.error(message, info);
});
const server = http.createServer();