IntersectMBO / ouroboros-consensus

Implementation of a Consensus Layer for the Ouroboros family of protocols
https://ouroboros-consensus.cardano.intersectmbo.org
Apache License 2.0
34 stars 23 forks source link

Install "uncaught exception" handler in tests #751

Open edsko opened 4 years ago

edsko commented 4 years ago

In input-output-hk/ouroboros-network#1136 (specifically, https://github.com/input-output-hk/ouroboros-network/pull/1136/commits/4762d321de39419e88926edd9c8ebc2018227ae2) the exception handler for new threads that catches any thrown top-level exceptions is removed. We should instead use setUncaughtExceptionHandler

dcoutts commented 4 years ago

Rebased, now fc1754907f3502f8ba264865386d043cb0b8ca17