mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
small refactorings
This commit is contained in:
@@ -49,7 +49,7 @@ function emit(eventType, data) {
|
||||
listener(data);
|
||||
}
|
||||
catch (e) {
|
||||
log.error(`Listener threw error: ${e.stack}`);
|
||||
log.error(`Listener threw error: ${e.message}, stack: ${e.stack}`);
|
||||
// we won't stop execution because of listener
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user