mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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