refactor(dev): unify compiler error logging
This commit is contained in:
@@ -52,7 +52,7 @@ int main(int argc, char** argv) {
|
||||
mir::PrintAsm(*machine_func, std::cout);
|
||||
}
|
||||
} catch (const std::exception& ex) {
|
||||
std::cerr << "error: " << ex.what() << "\n";
|
||||
PrintException(std::cerr, ex);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user