Skip to content

Commit 181d6fb

Browse files
kpamnanynickrobinson251
authored andcommitted
Use Base.process_status(p) instead of p.exitcode in error message (JuliaLang#57460) (#217)
Fixup JuliaLang#57455
1 parent 2eac8b6 commit 181d6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/loading.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2547,7 +2547,7 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in
25472547
if p.exitcode == 125
25482548
return PrecompilableError()
25492549
else
2550-
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) (exit code $(p.exitcode)).")
2550+
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) ($(Base.process_status(p))).")
25512551
end
25522552
end
25532553

0 commit comments

Comments
 (0)