SafeInvoke: print whole exception

This commit is contained in:
JohnCorby 2022-01-18 01:16:24 -08:00
parent a40a660b58
commit e3887af555

View File

@ -51,7 +51,7 @@ namespace QSB.Utility
}
catch (TargetInvocationException ex)
{
DebugLog.ToConsole($"Error invoking delegate! Message : {ex.InnerException!.Message} Stack Trace : {ex.InnerException.StackTrace}", MessageType.Error);
DebugLog.ToConsole($"Error invoking delegate! {ex.InnerException}", MessageType.Error);
}
}
}