Skip to content

Commit c0969ae

Browse files
committed
Manifest loading logging
1 parent 7f20357 commit c0969ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageLoading/ManifestLoader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ public final class ManifestLoader: ManifestLoaderProtocol {
10811081
if runResult.exitStatus != .terminated(code: 0) {
10821082
// TODO: should this simply be an error?
10831083
// return completion(.failure(AsyncProcessResult.Error.nonZeroExit(runResult)))
1084-
evaluationResult.errorOutput = evaluationResult.compilerOutput
1084+
evaluationResult.errorOutput = (evaluationResult.compilerOutput ?? "<no compiler output>") + " running the manifest executable exited with a non-zero exit code: \(runResult.exitStatus)"
10851085
return completion(.success(evaluationResult))
10861086
}
10871087

0 commit comments

Comments
 (0)