mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-05-17 15:59:46 +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,
|
chronicles,
|
||||||
chronos,
|
chronos,
|
||||||
metrics,
|
metrics,
|
||||||
libbacktrace,
|
|
||||||
system/ansi_c,
|
system/ansi_c,
|
||||||
libp2p/crypto/crypto
|
libp2p/crypto/crypto
|
||||||
import
|
import
|
||||||
@ -88,7 +87,7 @@ when isMainModule:
|
|||||||
when defined(posix):
|
when defined(posix):
|
||||||
proc handleSigsegv(signal: cint) {.noconv.} =
|
proc handleSigsegv(signal: cint) {.noconv.} =
|
||||||
# Require --debugger:native
|
# Require --debugger:native
|
||||||
fatal "Shutting down after receiving SIGSEGV", stacktrace = getBacktrace()
|
fatal "Shutting down after receiving SIGSEGV"
|
||||||
|
|
||||||
# Not available in -d:release mode
|
# Not available in -d:release mode
|
||||||
writeStackTrace()
|
writeStackTrace()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user