mirror of
https://github.com/benbjohnson/litestream.git
synced 2026-01-25 05:06:30 +00:00
Fix LTX write error message (#855)
This commit is contained in:
2
db.go
2
db.go
@@ -1149,7 +1149,7 @@ func (db *DB) sync(ctx context.Context, checkpointing bool, info syncInfo) error
|
||||
}
|
||||
} else {
|
||||
if err := db.writeLTXFromWAL(ctx, enc, walFile, pageMap); err != nil {
|
||||
return fmt.Errorf("write ltx from db: %w", err)
|
||||
return fmt.Errorf("write ltx from wal: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user