mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Accessors for exceptions.
This commit is contained in:
@@ -129,7 +129,7 @@ Json::Value formatErrorWithException(
|
||||
_charStreamProvider
|
||||
);
|
||||
|
||||
if (string const* description = boost::get_error_info<util::errinfo_comment>(_exception))
|
||||
if (string const* description = _exception.comment())
|
||||
message = ((_message.length() > 0) ? (_message + ":") : "") + *description;
|
||||
else
|
||||
message = _message;
|
||||
|
||||
Reference in New Issue
Block a user