mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-01 19:49:27 +00:00
not use getBacktrace in wakunode2
This commit is contained in:
parent
a44586f653
commit
f8e0423bb6
@ -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()
|
||||
Loading…
x
Reference in New Issue
Block a user