summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-04-27 11:44:42 +0200
committerRémy Coutable <remy@rymai.me>2017-04-27 11:44:42 +0200
commit4bdbcf594812d35bab3c2b597fc8087f840bbd4d (patch)
treed5e972f6459c9cef3a2716a41e8b23bca293db5f /lib
parente9f3d245b00662f66576954578c2cced5c60decb (diff)
parent615a77df83cc84e6b3c0ac221035ad88e73a5ac8 (diff)
downloadgitlab-ce-4bdbcf594812d35bab3c2b597fc8087f840bbd4d.tar.gz
Merge branch 'lleoni-fix-notify-post-receive'
See pull request https://github.com/gitlabhq/gitlabhq/pull/10429
Diffstat (limited to 'lib')
-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