Skip to content

Commit

Permalink
[Artifacts] Note the platform we're looking for in our error message (#…
Browse files Browse the repository at this point in the history
…38960)

(cherry picked from commit 549a73b)
  • Loading branch information
staticfloat authored and KristofferC committed Dec 27, 2020
1 parent f676019 commit e550e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ function artifact_slash_lookup(name::String, artifact_dict::Dict,

meta = artifact_meta(artifact_name, artifact_dict, artifacts_toml; platform)
if meta === nothing
error("Cannot locate artifact '$(name)' in '$(artifacts_toml)'")
error("Cannot locate artifact '$(name)' for $(triplet(platform)) in '$(artifacts_toml)'")
end
hash = SHA1(meta["git-tree-sha1"])
return artifact_name, artifact_path_tail, hash
Expand Down

0 comments on commit e550e87

Please sign in to comment.