Add missing exception variable

This commit is contained in:
Jacob Vosmaer 2017-10-04 12:29:06 +02:00
parent 4a4f809353
commit 45c5311a8b
1 changed files with 1 additions and 1 deletions

View File

@ -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