Skip to content

Commit 5848472

Browse files
committed
Show stack trace for errors thrown when compiling
1 parent 32601b3 commit 5848472

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CompilerService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ private void OnMessage(ObjectStreamConnection<CompilerMessage, CompilerMessage>
381381
});
382382
}
383383

384-
private void OnError(Exception exception) => OnCompilerFailed($"Compiler threw a error: {exception.GetType().Name} - {exception.Message}");
384+
private void OnError(Exception exception) => OnCompilerFailed($"Compiler threw a error: {exception}");
385385

386386
private void OnProcessExited(object sender, EventArgs eventArgs)
387387
{

0 commit comments

Comments
 (0)