mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add a Catch to handle exception
This commit is contained in:
parent
02fdcb3623
commit
b78960c604
@ -509,6 +509,11 @@ int main(int argc, char const *argv[])
|
|||||||
cerr << exception.what() << endl;
|
cerr << exception.what() << endl;
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
catch (solidity::test::ConfigException const& exception)
|
||||||
|
{
|
||||||
|
cerr << exception.what() << endl;
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
cerr << "Unhandled exception caught." << endl;
|
cerr << "Unhandled exception caught." << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user