gcc didn't like us catching the runtime_error

This commit is contained in:
Kolten Pearson 2023-05-08 20:45:59 -06:00
parent e2bf81d7f2
commit ae34a6304a

View File

@ -13,11 +13,6 @@ using namespace pkpy;
<< "this probably means pocketpy itself has a bug!\n" \
<< e.what() << "\n"; \
exit(2); \
} catch(std::runtime_error& e) { \
std::cerr << "ERROR: a std::runtime_error " \
<< "this probably means pocketpy itself has a bug!\n" \
<< e.what() << "\n"; \
exit(2); \
} catch(...) { \
std::cerr << "ERROR: a unknown exception was thrown from " << __func__ \
<< "\nthis probably means pocketpy itself has a bug!\n"; \