diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2017-04-07 14:26:56 +0200 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2017-04-08 21:33:45 +0200 |
commit | b742ff96fc9e844c9dc17b6b7a7f62b3497594ba (patch) | |
tree | c1ad0c331d27a8cdfbd128e144e3f9def0d81e60 /lib | |
parent | 3d1cade13f61115b63bf6dbda5a1f194ba54b24b (diff) | |
download | gitlab-ce-b742ff96fc9e844c9dc17b6b7a7f62b3497594ba.tar.gz |
Improve gitaly_address error messagefix/improve-gitaly-unsupported-address-error
Closes gitaly#174
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitaly_client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb index bcdf1b1faa8..c69676a1dac 100644 --- a/lib/gitlab/gitaly_client.rb +++ b/lib/gitlab/gitaly_client.rb @@ -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 |