Skip to content

Commit

Permalink
Use Base.process_status(p) instead of p.exitcode in error message (
Browse files Browse the repository at this point in the history
  • Loading branch information
kpamnany authored Feb 20, 2025
1 parent 4032092 commit 827c19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in
if p.exitcode == 125
return PrecompilableError()
else
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) (exit code $(p.exitcode)).")
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) ($(Base.process_status(p))).")
end
end

Expand Down

0 comments on commit 827c19f

Please sign in to comment.