Add more debugging info

This commit is contained in:
David Dworken 2022-05-27 19:00:02 -07:00
parent c467411db3
commit 1d8730b0d7

View File

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