improve log message to include storage space reference

This commit is contained in:
EzioTheDeadPoet 2023-11-02 14:20:11 +01:00
parent f425bbc9e9
commit ccff5b822a

View File

@ -244,6 +244,8 @@ public class VirtualFile
catch (Exception ex) catch (Exception ex)
{ {
context.Logger.LogError(ex, "Error while examining the contents of {path}", relPath.FileName); context.Logger.LogError(ex, "Error while examining the contents of {path}", relPath.FileName);
if (!ex.Message.Equals("End of stream before end of limit")) throw;
context.Logger.LogError("Possibly not enough free storage space in Wabbajack Folder Location");
throw; throw;
} }