forked from lix-project/hydra
Tweak debug output
This commit is contained in:
parent
479632efa3
commit
3b5e84cc73
|
@ -194,9 +194,11 @@ static void findJobs(EvalState & state, JSONObject & top,
|
||||||
try {
|
try {
|
||||||
findJobsWrapped(state, top, argsLeft, v, attrPath);
|
findJobsWrapped(state, top, argsLeft, v, attrPath);
|
||||||
} catch (EvalError & e) {
|
} catch (EvalError & e) {
|
||||||
|
{
|
||||||
top.attr(attrPath);
|
top.attr(attrPath);
|
||||||
JSONObject res(top.str);
|
JSONObject res(top.str);
|
||||||
res.attr("error", e.msg());
|
res.attr("error", e.msg());
|
||||||
|
}
|
||||||
top.str << std::endl;
|
top.str << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue