Skip to content

Commit 992c520

Browse files
authored
Use Base.process_status(p) instead of p.exitcode in error message (#57460)
Fixup #57455
1 parent fa3ca0f commit 992c520

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
@@ -3288,7 +3288,7 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in
32883288
if p.exitcode == 125
32893289
return PrecompilableError()
32903290
else
3291-
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) (exit code $(p.exitcode)).")
3291+
error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) ($(Base.process_status(p))).")
32923292
end
32933293
end
32943294

0 commit comments

Comments
 (0)