mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-23 07:13:37 +00:00
stop using backtrace because we never used it and the informations it gives is poor
This commit is contained in:
parent
41db18f9f7
commit
bce653ec5d
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user