Skip to content

Commit 9dd3191

Browse files
authored
Merge pull request #1532 from apple/no-error-fatal-error
When terminating because a subprocess failed, don't print `error: fatalError`
2 parents 49daa7e + b01d1bd commit 9dd3191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriverExecution/MultiJobExecutor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public final class MultiJobExecutor {
318318

319319
// Throw the stub error the build didn't finish successfully.
320320
if !result.success {
321-
throw Diagnostics.fatalError
321+
throw Driver.ErrorDiagnostics.emitted
322322
}
323323
}
324324

0 commit comments

Comments
 (0)