mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 23:56:05 +02:00
Made log writing failure a soft failure
This commit is contained in:
parent
52033be6ad
commit
5190038af9
1 changed files with 4 additions and 2 deletions
|
@ -487,7 +487,8 @@ namespace IDE
|
|||
logStr.AppendF("IDE Process {0}\r\n", Platform.BfpProcess_GetCurrentId());
|
||||
logStr.Append(linkLine);
|
||||
String targetLogPath = scope String(targetPath, ".build.txt");
|
||||
Utils.WriteTextFile(targetLogPath, logStr);
|
||||
if (Utils.WriteTextFile(targetLogPath, logStr) case .Err)
|
||||
gApp.OutputErrorLine("Failed to write {}", targetLogPath);
|
||||
|
||||
project.mLastDidBuild = true;
|
||||
}
|
||||
|
@ -975,7 +976,8 @@ namespace IDE
|
|||
logStr.AppendF("IDE Process {0}\r\n", Platform.BfpProcess_GetCurrentId());
|
||||
logStr.Append(linkLine);
|
||||
String targetLogPath = scope String(targetPath, ".build.txt");
|
||||
Utils.WriteTextFile(targetLogPath, logStr);
|
||||
if (Utils.WriteTextFile(targetLogPath, logStr) case .Err)
|
||||
gApp.OutputErrorLine("Failed to write {}", targetLogPath);
|
||||
|
||||
project.mLastDidBuild = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue