Commit 4bdbcf59 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'lleoni-fix-notify-post-receive'

See pull request https://github.com/gitlabhq/gitlabhq/pull/10429
parents e9f3d245 615a77df
---
title: Fixed wrong method call on notify_post_receive
merge_request:
author: Luigi Leoni
...@@ -140,7 +140,7 @@ module API ...@@ -140,7 +140,7 @@ module API
begin begin
Gitlab::GitalyClient::Notifications.new(project.repository).post_receive Gitlab::GitalyClient::Notifications.new(project.repository).post_receive
rescue GRPC::Unavailable => e rescue GRPC::Unavailable => e
render_api_error(e, 500) render_api_error!(e, 500)
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