forked from lix-project/hydra
hydra-eval-jobs: Filter ANSI escape sequences
This commit is contained in:
parent
1898e31ed8
commit
dca6c5a983
|
@ -201,7 +201,7 @@ static void findJobs(EvalState & state, JSONObject & top,
|
|||
} catch (EvalError & e) {
|
||||
if (comma) { std::cout << ","; comma = false; }
|
||||
auto res = top.object(attrPath);
|
||||
res.attr("error", e.msg());
|
||||
res.attr("error", filterANSIEscapes(e.msg(), true));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue