mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-12 10:32:27 -06:00
More informative url-fetch error checking (#2049)
This commit is contained in:
@@ -83,7 +83,7 @@ func main() {
|
||||
b := types.NewStreamingBlob(pr, ds.Database())
|
||||
ds, err = ds.Commit(b)
|
||||
if err != nil {
|
||||
d.Chk.True(datas.ErrMergeNeeded == err)
|
||||
d.Chk.Equal(datas.ErrMergeNeeded, err)
|
||||
fmt.Fprintf(os.Stderr, "Could not commit, optimistic concurrency failed.")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user