When inside a try...catch block, the new handlers for caching messages, warnings and errors don't work. Perhaps in these cases we could use the legacy handlers (those used in ParallelLogger <= v2, see for example here) to at least catch warnings and errors?