Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_version.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2025-07-27 20:28:51 +0200
committerMartin Hořeňovský2025-07-27 21:41:02 +0200
commitd547cae549f484dda3c6a2b3cc5f71b9db40e842 (patch)
treefb947c6dd70b9eb5e8d7fd792bd85684b454d0fd /src/catch2/catch_version.cpp
parentfee81626d2a4811095c3a39d20fb355eeb954101 (diff)
downloadcatch3-d547cae549f484dda3c6a2b3cc5f71b9db40e842.tar.gz
Fix bad error reporting for nested exceptions in default configuration
Bad handling of `TestFailureException` when translating unexpected exceptions inside assertion macros led to the unexpected exceptions handling erroring out through throwing the same exception again. This was then backstopped by the machinery for handling uncaught exceptions from assertions, which is normally used by the `CATCH_CONFIG_FAST_COMPILE` machinery, where we assume that it can only be invoked because the assertion macros are not configured to catch assertions. Closes #1292
Diffstat (limited to 'src/catch2/catch_version.cpp')
0 files changed, 0 insertions, 0 deletions