Commit a389ffe5 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'fix/improve-gitaly-unsupported-address-error' into 'master'

Improve gitaly_address error message

Closes gitaly#174

See merge request !10532
parents c15a2d7f b742ff96
...@@ -15,7 +15,7 @@ module Gitlab ...@@ -15,7 +15,7 @@ module Gitlab
end end
unless URI(address).scheme.in?(%w(tcp unix)) unless URI(address).scheme.in?(%w(tcp unix))
raise "Unsupported Gitaly address: #{address.inspect}" raise "Unsupported Gitaly address: #{address.inspect} does not use URL scheme 'tcp' or 'unix'"
end end
@addresses[name] = address @addresses[name] = address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment