Skip to content

Commit 827c19f

Browse files
authored
Use Base.process_status(p) instead of p.exitcode in error message (JuliaLang#57460) (#217)
Fixup JuliaLang#57455
1 parent 4032092 commit 827c19f

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
@@ -2477,7 +2477,7 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in
24772477
if p.exitcode == 125
24782478
return PrecompilableError()
24792479
else
2480-
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) (exit code $(p.exitcode)).")
2480+
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) ($(Base.process_status(p))).")
24812481
end
24822482
end
24832483

0 commit comments

Comments
 (0)