mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Print diagnostic info for more exception types in the default import callback
This commit is contained in:
parent
226f040e25
commit
d06dc7613e
@ -101,6 +101,10 @@ ReadCallback::Result FileReader::readFile(string const& _kind, string const& _so
|
|||||||
{
|
{
|
||||||
return ReadCallback::Result{false, "Exception in read callback: " + boost::diagnostic_information(_exception)};
|
return ReadCallback::Result{false, "Exception in read callback: " + boost::diagnostic_information(_exception)};
|
||||||
}
|
}
|
||||||
|
catch (std::exception const& _exception)
|
||||||
|
{
|
||||||
|
return ReadCallback::Result{false, "Exception in read callback: " + boost::diagnostic_information(_exception)};
|
||||||
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
return ReadCallback::Result{false, "Unknown exception in read callback."};
|
return ReadCallback::Result{false, "Unknown exception in read callback."};
|
||||||
|
Loading…
Reference in New Issue
Block a user