summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorash <smashwilson@gmail.com>2013-05-18 18:31:27 +0000
committerash <smashwilson@gmail.com>2013-05-18 18:31:27 +0000
commitc1672b42edaf8758fb8f54d9934ac4c287c58492 (patch)
tree861b3386ca61296edd58d160c255c905bf456a31
parenta329982dfc4f0a7c80d37dd14f2c1ff4dd27637a (diff)
downloadgitlab-shell-c1672b42edaf8758fb8f54d9934ac4c287c58492.tar.gz
Use a better error message if gitlab-keys gets an invalid command.
-rw-r--r--lib/gitlab_keys.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb
index b64cbde..8047c1b 100644
--- a/lib/gitlab_keys.rb
+++ b/lib/gitlab_keys.rb
@@ -18,7 +18,7 @@ class GitlabKeys
when 'add-key'; add_key
when 'rm-key'; rm_key
else
- $logger.error "Attempt to execute invalid command #{@command.inspect}."
+ $logger.error "Attempt to execute invalid gitlab-keys command #{@command.inspect}."
puts 'not allowed'
false
end