diff options
author | ash <smashwilson@gmail.com> | 2013-05-18 18:31:27 +0000 |
---|---|---|
committer | ash <smashwilson@gmail.com> | 2013-05-18 18:31:27 +0000 |
commit | c1672b42edaf8758fb8f54d9934ac4c287c58492 (patch) | |
tree | 861b3386ca61296edd58d160c255c905bf456a31 | |
parent | a329982dfc4f0a7c80d37dd14f2c1ff4dd27637a (diff) | |
download | gitlab-shell-c1672b42edaf8758fb8f54d9934ac4c287c58492.tar.gz |
Use a better error message if gitlab-keys gets an invalid command.
-rw-r--r-- | lib/gitlab_keys.rb | 2 |
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 |