This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Include requested URL into the message on network errors (
#4945
)
pull/4/head
unarist
6 years ago
committed by
Eugen Rochko
parent
1aad015bbb
commit
a4c500176b
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/lib/request.rb
+ 2
- 0
app/lib/request.rb
View File
@ -31,6 +31,8 @@ class Request
def
perform
http_client
.
headers
(
headers
)
.
public_send
(
@verb
,
@url
.
to_s
,
@options
)
rescue
=
>
e
raise
e
.
class
,
"
#{
e
.
message
}
on
#{
@url
}
"
end
def
headers
Write
Preview
Loading…
Cancel
Save