not use getBacktrace in wakunode2

This commit is contained in:
Ivan FB 2026-04-02 15:14:13 +02:00
parent a44586f653
commit f8e0423bb6
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -5,7 +5,6 @@ import
chronicles,
chronos,
metrics,
libbacktrace,
system/ansi_c,
libp2p/crypto/crypto
import
@ -88,7 +87,7 @@ when isMainModule:
when defined(posix):
proc handleSigsegv(signal: cint) {.noconv.} =
# Require --debugger:native
fatal "Shutting down after receiving SIGSEGV", stacktrace = getBacktrace()
fatal "Shutting down after receiving SIGSEGV"
# Not available in -d:release mode
writeStackTrace()
@ -101,4 +100,4 @@ when isMainModule:
info "Node setup complete"
runForever()
runForever()