From edd1660a67218070df9fbca50cb4f583690f3617 Mon Sep 17 00:00:00 2001 From: K Pamnany Date: Tue, 18 Feb 2025 10:06:51 -0500 Subject: [PATCH] Add exit code to `Base.compilecache` error message --- base/loading.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/loading.jl b/base/loading.jl index 818bd2366b2d0..6365d2bbdbf6d 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -3288,7 +3288,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)).") + error("Failed to precompile $(repr("text/plain", pkg)) to $(repr(tmppath)) (exit code $(p.exitcode)).") end end