Remove unused Error.name field

This commit is contained in:
Eelco Dolstra
2022-04-08 11:31:51 +02:00
parent 8b1e328d5d
commit 168ef9f3ab
4 changed files with 2 additions and 8 deletions
-3
View File
@@ -21,12 +21,9 @@ const std::string & BaseError::calcWhat() const
if (what_.has_value())
return *what_;
else {
err.name = sname();
std::ostringstream oss;
showErrorInfo(oss, err, loggerSettings.showTrace);
what_ = oss.str();
return *what_;
}
}