diff options
author | Alexander Bantyev <balsoft@balsoft.ru> | 2021-12-28 15:53:21 +0300 |
---|---|---|
committer | Alexander Bantyev <balsoft@balsoft.ru> | 2021-12-28 15:53:21 +0300 |
commit | 581f774284fa1b833255218165f4c958fe741500 (patch) | |
tree | 7591103c482e084581ac3f5205ae6c35991e57d6 /src | |
parent | 0e90b13ab1df925e549b5d55853b65911b4b40d3 (diff) |
BaseError::calcWhat: take loggerSettings.showTrace into account
Text representation for errors should include the trace if
--show-trace is passed.
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/error.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/error.cc b/src/libutil/error.cc index 203d79087..dd9678ee7 100644 --- a/src/libutil/error.cc +++ b/src/libutil/error.cc @@ -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_; |