forked from lix-project/lix
BaseError::calcWhat: take loggerSettings.showTrace into account
Text representation for errors should include the trace if --show-trace is passed.
This commit is contained in:
parent
0e90b13ab1
commit
581f774284
|
@ -25,7 +25,7 @@ const string & BaseError::calcWhat() const
|
|||
err.name = sname();
|
||||
|
||||
std::ostringstream oss;
|
||||
showErrorInfo(oss, err, false);
|
||||
showErrorInfo(oss, err, loggerSettings.showTrace);
|
||||
what_ = oss.str();
|
||||
|
||||
return *what_;
|
||||
|
|
Loading…
Reference in a new issue