mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-23 23:39:02 +01:00
Add more debugging info
This commit is contained in:
parent
c467411db3
commit
1d8730b0d7
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user