erigon-pulse/p2p/discover
BitBaseBit 7ed337cdcc
Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153)
* implemented crash reporting for all goroutine panics that aren't handled explicitly

* implemented crash reporting for all goroutine panics that aren't handled explicitly

* changed node defaults back to originals after testing

* implemented panic handling for all goroutines that don't explicitly handle them, outputting the stack trace to a file in crashreports

* handling panics on all goroutines gracefully

* updated missing call

* error assignment

* implemented suggestions

* path.Join added

* implemented Evgeny's suggestions

* changed path.Join to filepath.Join for cross-platform

* added err check

* updated RecoverStackTrace to LogPanic

* updated closures

* removed call of common.Go to some goroutines

* updated scope capture

* removed testing files

* reverted back to original method, I feel like its less intrusive

* update filename for clarity
2021-06-13 17:41:39 +01:00
..
v4wire rename (#1978) 2021-05-20 19:25:53 +01:00
v5wire rename (#1978) 2021-05-20 19:25:53 +01:00
common.go rename (#1978) 2021-05-20 19:25:53 +01:00
lookup.go rename (#1978) 2021-05-20 19:25:53 +01:00
node.go rename (#1978) 2021-05-20 19:25:53 +01:00
ntp.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00
table_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
table_util_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
table.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00
v4_lookup_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
v4_udp_test.go Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00
v4_udp.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00
v5_udp_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
v5_udp.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00