summaryrefslogtreecommitdiff
path: root/lib/gitlab_shell.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-12 19:25:05 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-12 19:25:05 +0000
commitf61186ba00ac1c6e96e4e16d7fe118debcdda1ea (patch)
tree572e0a87bd7d3ed9b7c064a68cd358000a2a7ab1 /lib/gitlab_shell.rb
parent63e16172e524d83e4fe04945e277bc21dda6d777 (diff)
parentddb0a8d1545629e1e56397bed43c388dcb85324f (diff)
downloadgitlab-shell-f61186ba00ac1c6e96e4e16d7fe118debcdda1ea.tar.gz
Merge branch 'log-api-error' into 'master'
Log full Net::HTTP error. See merge request !56
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r--lib/gitlab_shell.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 9605136..6422fff 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -36,7 +36,6 @@ class GitlabShell
puts "Welcome to GitLab, #{username}!"
end
rescue GitlabNet::ApiUnreachableError => ex
- $logger.warn "gitlab-shell: Failed to connect to internal API"
puts "Failed to authorize your Git request: internal API unreachable"
rescue DisallowedCommandError => ex
message = "gitlab-shell: Attempt to execute disallowed command <#{@origin_cmd}> by #{log_username}."