mirror of
https://github.com/catchorg/Catch2.git
synced 2025-04-16 23:04:46 +02: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.