Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d5fe5247
Commit
d5fe5247
authored
Jan 30, 2020
by
Arturo Herrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix JIRA::HTTPError initialize parameter
parent
d0e5aa9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/198411-jira-http-error.yml
changelogs/unreleased/198411-jira-http-error.yml
+5
-0
lib/gitlab/jira/http_client.rb
lib/gitlab/jira/http_client.rb
+1
-1
No files found.
changelogs/unreleased/198411-jira-http-error.yml
0 → 100644
View file @
d5fe5247
---
title
:
Fix JIRA::HTTPError initialize parameter
merge_request
:
24060
author
:
type
:
fixed
lib/gitlab/jira/http_client.rb
View file @
d5fe5247
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment