mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 11:39:24 +01:00
Fix OBO to make debug info actually useful
This commit is contained in:
parent
1d8730b0d7
commit
c79466c679
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user