Update demo

This commit is contained in:
Jeremy 2023-09-30 03:35:11 -04:00
parent d964842bdb
commit d6f6617c14
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -31,6 +31,9 @@ void function_one(int) {
function_two(0, 0);
}
int main() {
int main() try {
cpptrace::absorb_trace_exceptions(false);
function_one(0);
} catch(cpptrace::exception& e) {
std::cerr << e.what();
}