diff --git a/src/sync.ts b/src/sync.ts index 2a0030bff..3d58188d9 100644 --- a/src/sync.ts +++ b/src/sync.ts @@ -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);