From 46fe61f4b6ebdb407e74cfe1f9f23ad57fbc6c3d Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Tue, 6 Feb 2024 16:52:36 +0900 Subject: [PATCH] fix relevantCaller --- ridgenative.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ridgenative.go b/ridgenative.go index 303f62c..2239f38 100644 --- a/ridgenative.go +++ b/ridgenative.go @@ -258,7 +258,7 @@ func relevantCaller() runtime.Frame { var frame runtime.Frame for { frame, more := frames.Next() - if !strings.HasPrefix(frame.Function, "net/http.") { + if !strings.HasPrefix(frame.Function, "github.com/shogo82148/ridgenative.") { return frame } if !more {