Commit 40cc501a authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch '198411-jira-http-error' into 'master'

Fix JIRA::HTTPError initialize parameter

See merge request gitlab-org/gitlab!24060
parents 2a15e238 d5fe5247
---
title: Fix JIRA::HTTPError initialize parameter
merge_request: 24060
author:
type: fixed
......@@ -12,7 +12,7 @@ module Gitlab
def 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
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