marion 5 жил өмнө
parent
commit
d63a0a189c

+ 1 - 1
utils/goroutine_recover.go

@@ -13,7 +13,7 @@ func DefaultGoroutineRecover(l *logger.Logger, action string) {
 			} else {
 				log.Print(action, " goroutine 异常 ", e.Error())
 			}
-			stack := string(GetStack(5))
+			stack := string(GetStack(3))
 			println(stack)
 		}
 	}