Skip to content
Snippets Groups Projects
Commit b742ff96 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Improve gitaly_address error message

Closes gitaly#174
parent 3d1cade1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -15,7 +15,7 @@ module Gitlab
end
 
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
 
@addresses[name] = address
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment