Error printing improvement. Removed some vestigial members

This commit is contained in:
Justin Swanson 2020-01-03 20:26:44 -06:00
parent 412d854160
commit 907b020db5

View File

@ -335,11 +335,9 @@ namespace Wabbajack
}
}
catch (Exception ex)
{
{
Utils.Error(ex, $"Encountered error, can't continue");
while (ex.InnerException != null) ex = ex.InnerException;
Utils.Log(ex.StackTrace);
Utils.Log(ex.ToString());
Utils.Log($"{ex.Message} - Can't continue");
Completed = ErrorResponse.Fail(ex);
}
});