diff --git a/src/internal/common/crash/crash.go b/src/internal/common/crash/crash.go index f54434fbc..2936c2efc 100644 --- a/src/internal/common/crash/crash.go +++ b/src/internal/common/crash/crash.go @@ -37,7 +37,7 @@ func Recovery(ctx context.Context, r any) error { err = clues.New(fmt.Sprintf("%v", r)) } - _, file, _, ok := runtime.Caller(2) + _, file, _, ok := runtime.Caller(3) if ok { inFile = " in file: " + file }