From 30b270e84c1197e0da2a61306a0c6cd4a861ba24 Mon Sep 17 00:00:00 2001 From: Maximilian Anzinger <43249083+manzinge@users.noreply.github.com> Date: Wed, 21 Feb 2024 09:36:07 +0100 Subject: [PATCH] Fix Type on Stacktrace --- Runtime/Export/Scripting/StackTrace.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Export/Scripting/StackTrace.cs b/Runtime/Export/Scripting/StackTrace.cs index 66362f098f..19103d959e 100644 --- a/Runtime/Export/Scripting/StackTrace.cs +++ b/Runtime/Export/Scripting/StackTrace.cs @@ -59,7 +59,7 @@ static internal void ExtractStringFromExceptionInternal(System.Object exceptiono { if (exceptiono == null) throw new ArgumentException("ExtractStringFromExceptionInternal called with null exception"); var exception = exceptiono as System.Exception; - if (exception == null) throw new ArgumentException("ExtractStringFromExceptionInternal called with an exceptoin that was not of type System.Exception"); + if (exception == null) throw new ArgumentException("ExtractStringFromExceptionInternal called with an exception that was not of type System.Exception"); // StackTrace might not be available StringBuilder sb = new StringBuilder(exception.StackTrace == null ? 512 : exception.StackTrace.Length * 2);