mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2025-01-11 00:31:34 +01:00
Suppress backtrace from Request#perform (#5174)
This commit is contained in:
parent
c567c87453
commit
01d6aa0397
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Request
|
|||
def perform
|
||||
http_client.headers(headers).public_send(@verb, @url.to_s, @options)
|
||||
rescue => e
|
||||
raise e.class, "#{e.message} on #{@url}"
|
||||
raise e.class, "#{e.message} on #{@url}", e.backtrace[0]
|
||||
end
|
||||
|
||||
def headers
|
||||
|
|
Loading…
Reference in a new issue