marion 5 anos atrás
pai
commit
eb7914db78
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      utils/goroutine_recover.go

+ 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(0))
+			stack := string(GetStack(5))
 			println(stack)
 		}
 	}