mirror of
https://gitee.com/johng/gf
synced 2026-07-04 13:02:36 +08:00
add switch of brief stack for package gerror (#2153)
This commit is contained in:
@ -15,7 +15,7 @@ type stack []uintptr
|
||||
|
||||
const (
|
||||
// maxStackDepth marks the max stack depth for error back traces.
|
||||
maxStackDepth = 32
|
||||
maxStackDepth = 64
|
||||
)
|
||||
|
||||
// Cause returns the root cause error of `err`.
|
||||
|
||||
Reference in New Issue
Block a user