style(app): Remove newline from memory usage logging
This commit modifies the logging of memory and heap usage in the app.ts file. The redundant newline code `\n` at the end of the log message has been removed to enhance readability and neatness of the logs. Signed-off-by: Mathis <yidhra@tuta.io>
This commit is contained in:
parent
cd09a0c61b
commit
e98729c9e5
@ -56,7 +56,7 @@ try {
|
|||||||
process.memoryUsage().rss / 1_000_000
|
process.memoryUsage().rss / 1_000_000
|
||||||
} Mio\n >> Memory heap usage: ${
|
} Mio\n >> Memory heap usage: ${
|
||||||
process.memoryUsage().heapUsed / 1_000_000
|
process.memoryUsage().heapUsed / 1_000_000
|
||||||
} Mio\n\n`,
|
} Mio\n`,
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(`Server failed to start: ${error}`);
|
logger.error(`Server failed to start: ${error}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user