mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use boost::current_exception_diagnostic_information() to print extra info about exceptions caught by (...)
This commit is contained in:
@@ -86,6 +86,10 @@ int main(int argc, char** argv)
|
||||
{
|
||||
cerr << "Exception while processing input: " << boost::diagnostic_information(_exception) << endl;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
cerr << "Unknown exception while processing input: " << boost::current_exception_diagnostic_information() << endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user