summaryrefslogtreecommitdiff
path: root/lib/gitlab_projects.rb
diff options
context:
space:
mode:
authorash <smashwilson@gmail.com>2013-05-18 19:13:24 +0000
committerash <smashwilson@gmail.com>2013-05-18 19:13:24 +0000
commitceb23a6230850f26a8c3eb2282ae25af6aa23665 (patch)
tree003234405819dc12c258c1c65aaa895234bc4380 /lib/gitlab_projects.rb
parent7626d9575e5f95fcf127a0fc5fcaa4fde2585547 (diff)
downloadgitlab-shell-ceb23a6230850f26a8c3eb2282ae25af6aa23665.tar.gz
Use :warn instead of :error for invalid commands.
Diffstat (limited to 'lib/gitlab_projects.rb')
-rw-r--r--lib/gitlab_projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb
index 2b8bbed..e60438e 100644
--- a/lib/gitlab_projects.rb
+++ b/lib/gitlab_projects.rb
@@ -32,7 +32,7 @@ class GitlabProjects
when 'import-project'; import_project
when 'fork-project'; fork_project
else
- $logger.error "Attempt to execute invalid gitlab-projects command #{@command.inspect}."
+ $logger.warn "Attempt to execute invalid gitlab-projects command #{@command.inspect}."
puts 'not allowed'
false
end