Skip to content
Snippets Groups Projects
Commit 45c5311a authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Add missing exception variable

parent 4a4f8093
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment