- Handle `Exception` as well, I know DGen emits this on CC error so we should DO this to make tests more accurate
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-10 14:45:54 +02:00
parent 9fa377dcc9
commit dc755ba3cd
1 changed files with 5 additions and 0 deletions

View File

@ -170,6 +170,11 @@ struct compileCommand
writeln("Could not open source file "~sourceFile);
exit(-2);
}
catch(Exception e)
{
gprintln(t.msg, DebugType.ERROR);
exit(-1);
}
}
}