From f3e97941a220828d9353ba42d47469f36085991e Mon Sep 17 00:00:00 2001 From: Michael Lehto Date: Tue, 6 Feb 2024 12:27:37 +0100 Subject: [PATCH] Add context for error --- src/JasperFx.RuntimeCompiler/CodeFileExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/JasperFx.RuntimeCompiler/CodeFileExtensions.cs b/src/JasperFx.RuntimeCompiler/CodeFileExtensions.cs index 386fa1c..bcb9b65 100644 --- a/src/JasperFx.RuntimeCompiler/CodeFileExtensions.cs +++ b/src/JasperFx.RuntimeCompiler/CodeFileExtensions.cs @@ -145,9 +145,9 @@ public static void WriteCodeFile(this ICodeFile file, ICodeFileCollection parent } catch (Exception e) { - Console.WriteLine("Unable to write code file"); + Console.WriteLine("Unable to write code file for " + file.FileName); Console.WriteLine(e.ToString()); } } } -} \ No newline at end of file +}