Skip to content

Commit fa5eae7

Browse files
committed
Log complete sync errors
1 parent 3db056a commit fa5eae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/sync.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ export class SyncApi {
821821
} catch (e) {
822822
// log the exception with stack if we have it, else fall back
823823
// to the plain description
824-
logger.error("Caught /sync error", e.stack || e);
824+
logger.error(e);
825825

826826
// Emit the exception for client handling
827827
this.client.emit("sync.unexpectedError", e);

0 commit comments

Comments
 (0)