Skip to content

Commit 575fdf3

Browse files
committed
only prinnt message
1 parent 71fe1c3 commit 575fdf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kscr-build/Module.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void RunBuild()
6666
if (KScrStarter.VM.CompilerErrors.Count > 0)
6767
{
6868
foreach (var error in KScrStarter.VM.CompilerErrors)
69-
log.At(LogLevel.Error, "Compiler Error:\r\n" + error);
69+
log.At(LogLevel.Error, "Compiler Error:\r\n" + error.Message);
7070
throw new Exception("There were Compiler Errors");
7171
}
7272

0 commit comments

Comments
 (0)