Skip to content

Commit 0f75de6

Browse files
authored
Better handle os error 112 when melting the save (#2646)
Rakaly event ID: ef4cf18d90354a788df5105e0db531ca
1 parent 7ea2f08 commit 0f75de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImperatorToCK3/Helpers/RakalyCaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public static void MeltSave(string savePath) {
114114
Logger.Debug($"Rakaly standard error: {stdErrText}");
115115

116116
string exceptionMessage = "Rakaly melter failed to melt the save.";
117-
if (stdErrText.Contains("There is not enough space on the disk.")) {
117+
if (stdErrText.Contains("(os error 112)")) {
118118
throw new UserErrorException($"{exceptionMessage} There is not enough space on the disk.");
119119
}
120120

0 commit comments

Comments
 (0)