Skip to content

Commit c3e0908

Browse files
committed
Clarify error message on missing certificates
1 parent 3d0273a commit c3e0908

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mix/lib/mix/utils.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -662,10 +662,10 @@ defmodule Mix.Utils do
662662
[cacerts: apply(:public_key, :cacerts_get, [])]
663663
rescue
664664
_ ->
665-
msg =
666-
"warning: Failed to load system certificates. Falling back to skip SSL peer verification."
665+
Mix.shell().error(
666+
"warning: failed to load system certificates. SSL peer verification will be skipped but downloads are still verified with a checksum"
667+
)
667668

668-
Mix.shell().error(msg)
669669
[verify: :verify_none]
670670
end
671671
else

0 commit comments

Comments
 (0)