BigW Consortium Gitlab

Commit 22bb4872 by Sean McGivern

Merge branch 'missing-exception-variable' into 'master'

Add missing exception variable See merge request gitlab-org/gitlab-ce!14677
parents b1050bfe 45c5311a
......@@ -1495,7 +1495,7 @@ module Gitlab
OperationService.new(user, self).add_branch(branch_name, target_object.oid)
find_branch(branch_name)
rescue Rugged::ReferenceError
rescue Rugged::ReferenceError => ex
raise InvalidRef, ex
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