mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
Remove unused Error.name field
This commit is contained in:
parent
8b1e328d5d
commit
168ef9f3ab
4 changed files with 2 additions and 8 deletions
|
@ -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_;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue