mirror of
https://github.com/unraid/api.git
synced 2026-01-04 15:39:52 -06:00
fix: not logging exception
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user