mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
SafeInvoke: print whole exception
This commit is contained in:
parent
a40a660b58
commit
e3887af555
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user