mirror of
https://github.com/catchorg/Catch2.git
synced 2025-03-27 21:04:46 +01:00

Instead of `exit(1)`, it now throws `std::runtime_error` with the details of the failure. This exception is handled in `run()` at a higher level where the log is printed to cerr and the test gracefully exits.