feat: 修复加载寻路文件问题

This commit is contained in:
flswld committed 2024-12-18 11:49:16 +08:00
1 parent b52e1f7059
commit 714db87565
3 files changed
+71 -22

No files matched your search

+1 -1
View File
@@ -457,7 +457,7 @@ func (l *Logger) getLineFunc() (fileName string, line int, funcName string) {
var pc uintptr
var file string
var ok bool
pc, file, line, ok = runtime.Caller(2)
pc, file, line, ok = runtime.Caller(3)
if !ok {
return "???", -1, "???"
}