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
9110a745
Commit
9110a745
authored
Jan 05, 2021
by
David Fernandez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address backen review feedback
parent
fe1ec5ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lib/gitlab/faraday.rb
lib/gitlab/faraday.rb
+7
-0
lib/gitlab/faraday/error_callback.rb
lib/gitlab/faraday/error_callback.rb
+0
-2
No files found.
lib/gitlab/faraday.rb
0 → 100644
View file @
9110a745
# frozen_string_literal: true
module
Gitlab
module
Faraday
::
Faraday
::
Request
.
register_middleware
(
error_callback:
->
{
::
Gitlab
::
Faraday
::
ErrorCallback
})
end
end
lib/gitlab/faraday/error_callback.rb
View file @
9110a745
...
...
@@ -43,5 +43,3 @@ module Gitlab
end
end
end
::
Faraday
::
Request
.
register_middleware
(
error_callback:
->
{
::
Gitlab
::
Faraday
::
ErrorCallback
})
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