From 0c21045402f8eb94cbcb502a390f7234e17671cb Mon Sep 17 00:00:00 2001 From: Akash Kava <39438041+ackava@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:40:03 +0530 Subject: [PATCH] Added message on top of stack --- YantraJS.Core/Core/JSException.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YantraJS.Core/Core/JSException.cs b/YantraJS.Core/Core/JSException.cs index a59df5c0..046afe86 100644 --- a/YantraJS.Core/Core/JSException.cs +++ b/YantraJS.Core/Core/JSException.cs @@ -80,6 +80,8 @@ public JSValue JSStackTrace { var sb = new StringBuilder(); + sb.AppendLine(this.Message); + if (trace.Count > 0) { var f = trace[0];