Skip to content

Commit b78960c

Browse files
committed
Add a Catch to handle exception
1 parent 02fdcb3 commit b78960c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/tools/isoltest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,11 @@ int main(int argc, char const *argv[])
509509
cerr << exception.what() << endl;
510510
return EXIT_FAILURE;
511511
}
512+
catch (solidity::test::ConfigException const& exception)
513+
{
514+
cerr << exception.what() << endl;
515+
return EXIT_FAILURE;
516+
}
512517
catch (...)
513518
{
514519
cerr << "Unhandled exception caught." << endl;

0 commit comments

Comments
 (0)