This commit is contained in:
2025-12-22 13:39:17 +08:00
parent 720ae2bb26
commit 26bc387032
5 changed files with 69 additions and 12 deletions

View File

@@ -169,6 +169,12 @@ int main(int argc, char **argv)
evaluator.printStackTrace();
return 1;
}
catch (const std::exception &e)
{
std::cerr << "uncaught exception of: " << e.what() << '\n';
evaluator.printStackTrace();
return 1;
}
// try
// {