nimbus-eth2 icon indicating copy to clipboard operation
nimbus-eth2 copied to clipboard

Handle ctrl-c/SIGINT on shutdown

Open arnetheduck opened this issue 3 years ago • 0 comments

shutting down the lc gives an ugly message

^CTraceback (most recent call last, using override)
/home/arnetheduck/status/nimbus-eth2/vendor/nim-testutils/testutils/moduletests.nim(21) moduletests
/home/arnetheduck/status/nimbus-eth2/beacon_chain/nimbus_light_client.nim(236) main
/home/arnetheduck/status/nimbus-eth2/vendor/nim-chronos/chronos/asyncloop.nim(710) poll
/home/arnetheduck/status/nimbus-eth2/vendor/nim-chronos/chronos/ioselects/ioselectors_epoll.nim(379) selectInto
/home/arnetheduck/status/nimbus-eth2/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim(610) signalHandler
SIGINT: Interrupted by Ctrl-C.

addf55e075167a532b412c07e6fcf0dbb0fd86a4

arnetheduck avatar Aug 29 '22 08:08 arnetheduck