Commit b742ff96 authored by Ahmad Sherif's avatar Ahmad Sherif

Improve gitaly_address error message

Closes gitaly#174
parent 3d1cade1
...@@ -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