Commit c1672b42 authored by ash's avatar ash

Use a better error message if gitlab-keys gets an invalid command.

parent a329982d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment