Command-line

- Added missing exception catch
This commit is contained in:
Tristan B. Velloza Kildaire 2023-01-22 15:05:54 +02:00
parent 078a971a67
commit e1e554d6ba
1 changed files with 8 additions and 1 deletions

View File

@ -34,7 +34,14 @@ struct compileCommand
void onExecute() void onExecute()
{ {
writeln("Compiling source file: "~sourceFile); writeln("Compiling source file: "~sourceFile);
beginCompilation([sourceFile]); try
{
beginCompilation([sourceFile]);
}
catch(TError t)
{
gprintln(t.msg, DebugType.ERROR);
}
} }
} }