diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2017-08-28 09:31:41 +0200 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2017-09-06 17:25:17 +0200 |
commit | 41ef94e777d9c9d10a8b64b1498f57a8e5847e23 (patch) | |
tree | bcb96395e9f44e0ff1ed2d9ea33f7eb46b3f4e44 /lib/github | |
parent | 685066cd0e4bb9c2279c1ed43ae445d07c963743 (diff) | |
download | gitlab-ce-41ef94e777d9c9d10a8b64b1498f57a8e5847e23.tar.gz |
Migrate creating/deleting a branch to Gitalyfeature/migrate-branch-operations-to-gitaly
Diffstat (limited to 'lib/github')
-rw-r--r-- | lib/github/representation/branch.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/representation/branch.rb b/lib/github/representation/branch.rb index c6fa928d565..823e8e9a9c4 100644 --- a/lib/github/representation/branch.rb +++ b/lib/github/representation/branch.rb @@ -41,7 +41,7 @@ module Github def remove!(name) repository.delete_branch(name) - rescue Rugged::ReferenceError => e + rescue Gitlab::Git::Repository::DeleteBranchError => e Rails.logger.error("#{self.class.name}: Could not remove branch #{name}: #{e}") end |