Log complete sync errors

This commit is contained in:
Robert Long
2022-02-17 14:07:21 -08:00
parent 3db056ad3e
commit fa5eae70dd
+1 -1
View File
@@ -821,7 +821,7 @@ export class SyncApi {
} catch (e) {
// log the exception with stack if we have it, else fall back
// to the plain description
logger.error("Caught /sync error", e.stack || e);
logger.error(e);
// Emit the exception for client handling
this.client.emit("sync.unexpectedError", e);