codechecker icon indicating copy to clipboard operation
codechecker copied to clipboard

[ctu] Don't silently ignore exceptions thrown in pre-analysis

Open Szelethus opened this issue 3 years ago • 0 comments

Exceptions thrown in a thread pool by default stay in the thread pool (won't be re-raised at the call to map_async or similar functions). However, you can query whether an exception occured with the help of AsyncResult.successful().

This patch is simple -- don't pretend that pre-analysis exceptions can be ignored, just because they run asyncronously, exceptions there are just as severe as elsewhere.

Szelethus avatar Aug 25 '22 10:08 Szelethus