Passthrough error code from coverage helper
This commit is contained in:
parent
8f3fc15b73
commit
2f15ccd4d3
1 changed files with 6 additions and 1 deletions
|
@ -96,5 +96,10 @@ int main(int argc, char** argv) {
|
||||||
return lhs + ' ' + rhs;
|
return lhs + ' ' + rhs;
|
||||||
});
|
});
|
||||||
|
|
||||||
exec_cmd(cmdline, num, windowsify_path(catch_path(args[0])));
|
try {
|
||||||
|
return exec_cmd(cmdline, num, windowsify_path(catch_path(args[0])));
|
||||||
|
} catch (std::exception const& ex) {
|
||||||
|
std::cerr << "Helper failed with: '" << ex.what() << "'\n";
|
||||||
|
return 12;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue