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
parent 41db18f9f7
commit bce653ec5d
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

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()