diff options
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 |