Skip to content

Commit a65255f

Browse files
authored
fix: log full error in debug loglevel when mutagen sync flush fails (#7240)
1 parent c78183e commit a65255f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/mutagen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ export class Mutagen {
610610
retries: 5,
611611
minTimeout: 1000,
612612
onFailedAttempt: async (err) => {
613+
this.log.debug(() => err.stack || err.message)
613614
const unableToFlush = err.message.match(/unable to flush session/)
614615
if (unableToFlush) {
615616
this.log.warn(

0 commit comments

Comments
 (0)