forked from lix-project/hydra
* Don't catch all errors. Some errors mess up the connection with the
Nix daemon: at `debootstrap' [system = "i686-linux"]: getting attributes of path `/nix/store/dmhydkv6y1l4wpz4wq8qkf0fnlrhjr3l-svn-export/pkgs/tools/misc/debootstrap/subst.patch': No such file or directory at `debootstrap' [system = "x86_64-linux"]: writing to file: Broken pipe etc.
This commit is contained in:
parent
71bc5b14a0
commit
ee31b6e3df
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ static void findJobs(EvalState & state, XMLWriter & doc,
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
findJobsWrapped(state, doc, argsUsed, argsLeft, e, attrPath);
|
findJobsWrapped(state, doc, argsUsed, argsLeft, e, attrPath);
|
||||||
} catch (Error & e) {
|
} catch (EvalError & e) {
|
||||||
XMLAttrs xmlAttrs;
|
XMLAttrs xmlAttrs;
|
||||||
xmlAttrs["location"] = attrPath;
|
xmlAttrs["location"] = attrPath;
|
||||||
xmlAttrs["msg"] = e.msg();
|
xmlAttrs["msg"] = e.msg();
|
||||||
|
|
Loading…
Reference in a new issue