Commit d5fe5247 authored by Arturo Herrero's avatar Arturo Herrero

Fix JIRA::HTTPError initialize parameter

parent d0e5aa9a
---
title: Fix JIRA::HTTPError initialize parameter
merge_request: 24060
author:
type: fixed
...@@ -12,7 +12,7 @@ module Gitlab ...@@ -12,7 +12,7 @@ module Gitlab
def request(*args) def request(*args)
result = make_request(*args) result = make_request(*args)
raise JIRA::HTTPError.new(result) unless result.response.is_a?(Net::HTTPSuccess) raise JIRA::HTTPError.new(result.response) unless result.response.is_a?(Net::HTTPSuccess)
result result
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