Output errors to clog instead of cout
This commit is contained in:
parent
e367ece77d
commit
9b2034123f
|
@ -92,7 +92,8 @@ int main(int argc, char* argv[]) {
|
||||||
cout << result.first << '\n';
|
cout << result.first << '\n';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
cout << "Compilation of " << result.first << " has failed with the following error:\n" << result.second.value().what() << '\n';
|
cout << "Compilation of " << result.first << " has failed with the following error:\n";
|
||||||
|
clog << result.second.value().what() << '\n';
|
||||||
}
|
}
|
||||||
return is_exception;
|
return is_exception;
|
||||||
})) {
|
})) {
|
||||||
|
|
Loading…
Reference in New Issue