提交 22bb4872 编写于 作者: S Sean McGivern

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

Add missing exception variable

See merge request gitlab-org/gitlab-ce!14677
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册