Skip to content

Commit ee44f68

Browse files
authored
Increase stack trace size when outputting it to stderr (#4618)
Signed-off-by: Yacov Manevich <yacov.manevich@avalabs.org>
1 parent 5950ba3 commit ee44f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/stacktrace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package utils
66
import "runtime"
77

88
func GetStacktrace(all bool) string {
9-
buf := make([]byte, 1<<16)
9+
buf := make([]byte, 1<<24)
1010
n := runtime.Stack(buf, all)
1111
return string(buf[:n])
1212
}

0 commit comments

Comments
 (0)