diff --git a/Quik.StbTrueType/Stbtt.Manual.cs b/Quik.StbTrueType/Stbtt.Manual.cs index a0862e8..0232a01 100644 --- a/Quik.StbTrueType/Stbtt.Manual.cs +++ b/Quik.StbTrueType/Stbtt.Manual.cs @@ -52,7 +52,8 @@ namespace Quik.Stb string f = file == null ? string.Empty : Marshal.PtrToStringUTF8((IntPtr)file); string func = function == null ? string.Empty : Marshal.PtrToStringUTF8((IntPtr)function); - Exception ex = new Exception("Assert failed in native stbtt code."); + Exception ex = + new Exception($"Assert failed in native stbtt code. ({System.IO.Path.GetFileName(f)}:{line})"); ex.Data.Add("Expression", expr); ex.Data.Add("File", f); ex.Data.Add("Line", line);