stop using backtrace because we never used it and the informations it gives is poor

This commit is contained in:
Ivan Folgueira Bande 2026-02-22 00:59:45 +01:00 committed by Ivan FB
parent 24fa1bad67
commit 3d1cc1a61d
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()