Add a Catch to handle exception

This commit is contained in:
ywon0925
2022-06-22 21:14:42 +09:00
parent 02fdcb3623
commit b78960c604
+5
View File
@@ -509,6 +509,11 @@ int main(int argc, char const *argv[])
cerr << exception.what() << endl;
return EXIT_FAILURE;
}
catch (solidity::test::ConfigException const& exception)
{
cerr << exception.what() << endl;
return EXIT_FAILURE;
}
catch (...)
{
cerr << "Unhandled exception caught." << endl;