fix: not logging exception

This commit is contained in:
Alexis
2021-09-15 14:58:17 +09:30
parent 4ab776b2c9
commit 3d16b27738

View File

@@ -117,7 +117,7 @@ const commands = {
// Log when the API crashes
if (signal === 'uncaughtException' && error) {
logToSyslog(`⚠️ Caught exception: ${error.message}\nException origin: ${origin}`);
logToSyslog(`⚠️ Caught exception: ${error.message}`);
}
// Log when we crash