Some cleanups

This commit is contained in:
sinaioutlander
2020-12-03 22:12:30 +11:00
parent a6bf91b7af
commit a9faec8cf9
4 changed files with 38 additions and 45 deletions

View File

@ -71,6 +71,9 @@ namespace UnityExplorer.Inspectors.Reflection
}
catch (Exception e)
{
while (e.InnerException != null)
e = e.InnerException;
ExplorerCore.LogWarning($"Exception evaluating: {e.GetType()}, {e.Message}");
ReflectionException = ReflectionHelpers.ExceptionToString(e);
}