Skip to content

Commit e4e82ee

Browse files
authored
Fix LTX write error message (#855)
1 parent 53f896e commit e4e82ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ func (db *DB) sync(ctx context.Context, checkpointing bool, info syncInfo) error
11491149
}
11501150
} else {
11511151
if err := db.writeLTXFromWAL(ctx, enc, walFile, pageMap); err != nil {
1152-
return fmt.Errorf("write ltx from db: %w", err)
1152+
return fmt.Errorf("write ltx from wal: %w", err)
11531153
}
11541154
}
11551155

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/benbjohnson/litestream
22

3-
go 1.24
3+
go 1.25
44

5-
toolchain go1.24.3
5+
toolchain go1.25.4
66

77
require (
88
cloud.google.com/go/storage v1.36.0

0 commit comments

Comments
 (0)