mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-09 03:09:12 -06:00
cleanup error output (#1965)
This commit is contained in:
BIN
go/perf/codec-perf-rig/codec-perf-rig
Executable file
BIN
go/perf/codec-perf-rig/codec-perf-rig
Executable file
Binary file not shown.
@@ -186,7 +186,9 @@ func (lvs *ValueStore) checkChunksInCache(v Value, readValues bool) Hints {
|
||||
reachableV = lvs.ReadValue(targetHash)
|
||||
entry = lvs.check(targetHash)
|
||||
}
|
||||
d.PanicIfTrue(reachableV == nil, "Attempted to write Value containing Ref to non-existent object.", "%s\n, contains ref %s, which points to a non-existent Value.", EncodedValueWithTags(v), reachable.TargetHash())
|
||||
if reachableV == nil {
|
||||
d.Chk.Fail("Attempted to write Value containing Ref to non-existent object.", "%s\n, contains ref %s, which points to a non-existent Value.", v.Hash(), reachable.TargetHash())
|
||||
}
|
||||
}
|
||||
if hint := entry.Hint(); !hint.IsEmpty() {
|
||||
hints[hint] = struct{}{}
|
||||
|
||||
Reference in New Issue
Block a user