Skip to content

Commit bc98363

Browse files
committed
Make json diff error message less scary.
1 parent cf28c79 commit bc98363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/store/prolly/tree/json_scanner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type JsonScanner struct {
3838
valueOffset int
3939
}
4040

41-
var jsonParseError = fmt.Errorf("an error occurred while reading or writing JSON to/from the database. This is most likely a bug, but could indicate database corruption")
41+
var jsonParseError = fmt.Errorf("encountered invalid JSON while reading JSON from the database, or while preparing to write JSON to the database. This is most likely a bug in JSON diffing")
4242

4343
func (j JsonScanner) Clone() JsonScanner {
4444
return JsonScanner{

0 commit comments

Comments
 (0)