diff options
author | Stan Hu <stanhu@gmail.com> | 2018-12-13 10:23:17 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-12-13 10:23:17 +0000 |
commit | 46e81d93ff74a98cf4f02735d310ee4417be0217 (patch) | |
tree | c3db905b0890895303b2f1ca91f3ac02664ce48a /lib/gitlab_access.rb | |
parent | 528960c801aed81a977e7ce58a9706b4ea32ab4a (diff) | |
download | gitlab-shell-46e81d93ff74a98cf4f02735d310ee4417be0217.tar.gz |
Upgrade to Ruby 2.5.3
Diffstat (limited to 'lib/gitlab_access.rb')
-rw-r--r-- | lib/gitlab_access.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb index e1a5e35..ce299fe 100644 --- a/lib/gitlab_access.rb +++ b/lib/gitlab_access.rb @@ -31,10 +31,10 @@ class GitlabAccess true rescue GitlabNet::ApiUnreachableError - $stderr.puts "GitLab: Failed to authorize your Git request: internal API unreachable" + warn "GitLab: Failed to authorize your Git request: internal API unreachable" false rescue AccessDeniedError => ex - $stderr.puts "GitLab: #{ex.message}" + warn "GitLab: #{ex.message}" false end |