Skip to content

Commit c4298e1

Browse files
committed
[Artifacts] Note the platform we're looking for in our error message (#38960)
(cherry picked from commit 549a73b)
1 parent f8b7540 commit c4298e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Artifacts/src/Artifacts.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ function artifact_slash_lookup(name::String, artifact_dict::Dict,
603603

604604
meta = artifact_meta(artifact_name, artifact_dict, artifacts_toml; platform)
605605
if meta === nothing
606-
error("Cannot locate artifact '$(name)' in '$(artifacts_toml)'")
606+
error("Cannot locate artifact '$(name)' for $(triplet(platform)) in '$(artifacts_toml)'")
607607
end
608608
hash = SHA1(meta["git-tree-sha1"])
609609
return artifact_name, artifact_path_tail, hash

0 commit comments

Comments
 (0)