Trapping Concurrent.Future failures
Chris Angelico <[email protected]> Fri, 2 Aug 2019 11:00:54 +1000
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmrQH1J_M+71kd9KkQsAn6NRHz5EN15__+GtUNG4BaYjDQ@mail.gmail.com> |
I'm currently converting some parts of a project from using myriad callbacks to returning a Concurrent.Future. One of the downsides is that unexpected errors are now being silenced; the Future is failing, but that doesn't do anything. Is there a way to set some sort of global callback to be triggered any time a Future failure is left unhandled? ChrisA