Commit 5e83dbdc authored by Valery Sizov's avatar Valery Sizov

use STDERR to output error messages

parent 710746ff
...@@ -82,10 +82,10 @@ class GitlabPostReceive ...@@ -82,10 +82,10 @@ class GitlabPostReceive
begin begin
GitlabNet.new.redis_client.rpush(queue, msg) GitlabNet.new.redis_client.rpush(queue, msg)
return true true
rescue => e rescue => e
puts "GitLab: An unexpected error occurred in writing to Redis: #{e}" $stderr.puts "GitLab: An unexpected error occurred in writing to Redis: #{e}"
return false false
end end
end end
end 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