SafeInvoke: print whole exception

This commit is contained in:
JohnCorby 2022-01-18 01:16:24 -08:00
parent 9f66cba1ae
commit 246d0dd51b
2 changed files with 2 additions and 2 deletions

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);
}
}
}

View File

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<None Update="SteamAPI\steam_api64.dll">