summaryrefslogtreecommitdiff
path: root/lib/api/internal.rb
diff options
context:
space:
mode:
authorLuigi Leoni <luigi.leoni@sorint.it>2017-04-27 09:33:48 +0200
committerLuigi Leoni <luigi.leoni@sorint.it>2017-04-27 09:33:48 +0200
commit615a77df83cc84e6b3c0ac221035ad88e73a5ac8 (patch)
tree6428ff7ffc4ac5f2b98714298775ae85746e4e8d /lib/api/internal.rb
parent93a698f9b25baa1d3a66326f3f9761103c5ffb87 (diff)
downloadgitlab-ce-615a77df83cc84e6b3c0ac221035ad88e73a5ac8.tar.gz
Wrong method call on notify_post_receive.
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r--lib/api/internal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb
index 5b48ee8665f..ebed26dd178 100644
--- a/lib/api/internal.rb
+++ b/lib/api/internal.rb
@@ -140,7 +140,7 @@ module API
begin
Gitlab::GitalyClient::Notifications.new(project.repository).post_receive
rescue GRPC::Unavailable => e
- render_api_error(e, 500)
+ render_api_error!(e, 500)
end
end
end