You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Core CLR's implementation of Exception.ToString() includes details about the InnerException. It would be nice if the ScriptRuntimeException.ToString() method did so as well. The alternative is to search out that specific exception type and write code specifically to examine the InnerException property and log it.
The text was updated successfully, but these errors were encountered:
The problem is that Scriban is not a scripting engine that should give access to internal stack trace in normal mode (scriban scripts are usually used in end-user contexts, not by "developers").
But It's possible to do what you want, though it would require maybe to put a public static bool EnableDisplayInnerException {get; set;} on ScriptRuntimeException and change the ToString() method accordingly. PR welcome.
The Core CLR's implementation of Exception.ToString() includes details about the InnerException. It would be nice if the ScriptRuntimeException.ToString() method did so as well. The alternative is to search out that specific exception type and write code specifically to examine the InnerException property and log it.
The text was updated successfully, but these errors were encountered: