summaryrefslogtreecommitdiff
path: root/app/services/commits
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-08-22 14:18:09 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-08-23 10:45:20 +0200
commitdc7c6bede27abd4507072276ef23b40a74ee297a (patch)
tree3337af56f28df2cbd0f33a369b0a42fa3cec2c95 /app/services/commits
parent65f83941c39c14c2af9da5064393545ea2f7b3e5 (diff)
downloadgitlab-ce-dc7c6bede27abd4507072276ef23b40a74ee297a.tar.gz
Move GitHooksService to Gitlab::Git
Diffstat (limited to 'app/services/commits')
-rw-r--r--app/services/commits/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/commits/create_service.rb b/app/services/commits/create_service.rb
index c58f04a252b..dbd0b9ef43a 100644
--- a/app/services/commits/create_service.rb
+++ b/app/services/commits/create_service.rb
@@ -17,7 +17,7 @@ module Commits
new_commit = create_commit!
success(result: new_commit)
- rescue ValidationError, ChangeError, Gitlab::Git::Index::IndexError, Repository::CommitError, GitHooksService::PreReceiveError => ex
+ rescue ValidationError, ChangeError, Gitlab::Git::Index::IndexError, Repository::CommitError, Gitlab::Git::HooksService::PreReceiveError => ex
error(ex.message)
end