Fix OBO to make debug info actually useful

This commit is contained in:
David Dworken 2022-05-27 22:06:20 -07:00
parent 1d8730b0d7
commit c79466c679

View File

@ -64,7 +64,7 @@ func BackupAndRestoreWithId(t *testing.T, id string) func() {
func checkError(err error) {
if err != nil {
_, filename, line, _ := runtime.Caller(1)
_, cf, cl, _ := runtime.Caller(1)
_, cf, cl, _ := runtime.Caller(2)
log.Fatalf("testutils fatal error at %s:%d (caller: %s:%d): %v", filename, line, cf, cl, err)
}
}