mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Be a bit more verbose and capture Boost exceptions in StandardCompiler
This commit is contained in:
parent
a9f4215720
commit
e24c35bce0
@ -413,9 +413,13 @@ Json::Value StandardCompiler::compile(Json::Value const& _input)
|
||||
{
|
||||
return compileInternal(_input);
|
||||
}
|
||||
catch (Exception const& _exception)
|
||||
{
|
||||
return formatFatalError("InternalCompilerError", "Internal exception in StandardCompiler::compileInternal: " + boost::diagnostic_information(_exception));
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
return formatFatalError("InternalCompilerError", "Internal exception in StandardCompiler::compilerInternal");
|
||||
return formatFatalError("InternalCompilerError", "Internal exception in StandardCompiler::compileInternal");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user