mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
formatting and a few minor changes
This commit is contained in:
parent
d44bac1d92
commit
ef9dd9f9bc
13 changed files with 54 additions and 77 deletions
|
@ -248,8 +248,8 @@ static void daemonLoop(char * * argv)
|
|||
return;
|
||||
} catch (Error & error) {
|
||||
ErrorInfo ei = error.info();
|
||||
string prevhint = (error.info().hint.has_value() ? error.info().hint->str() : "");
|
||||
ei.hint = std::optional(hintfmt("error processing connection: %1%", prevhint));
|
||||
ei.hint = std::optional(hintfmt("error processing connection: %1%",
|
||||
(error.info().hint.has_value() ? error.info().hint->str() : "")));
|
||||
logError(ei);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue