Skip to content
Snippets Groups Projects
Unverified Commit c1a58409 authored by Benjamin Cumming's avatar Benjamin Cumming Committed by GitHub
Browse files

Merge pull request #540 from halfflat/feature/modcc-graceful-missing-file

Better error message on missing file.
parents 4d63988a a3d87e73
No related branches found
No related tags found
No related merge requests found
......@@ -308,13 +308,16 @@ int main(int argc, char **argv) {
}
}
}
catch(compiler_exception& e) {
catch (io::bulkio_error& e) {
return report_error(e.what());
}
catch (compiler_exception& e) {
return report_ice(e.what()+std::string(" @ ")+to_string(e.location()));
}
catch(std::exception& e) {
catch (std::exception& e) {
return report_ice(e.what());
}
catch(...) {
catch (...) {
return report_ice("");
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment