Remove debug output, rescue
This commit is contained in:
parent
02820203f0
commit
b7ff3e7d42
@ -36,10 +36,6 @@ module RemoteStorage
|
|||||||
timestamp_for(res.headers[:date]) # S3 does not return a Last-Modified response header on PUTs
|
timestamp_for(res.headers[:date]) # S3 does not return a Last-Modified response header on PUTs
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
rescue RestClient::Forbidden => ex
|
|
||||||
puts ex.response.to_s
|
|
||||||
raise ex
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def do_get_request(url, &block)
|
def do_get_request(url, &block)
|
||||||
@ -83,8 +79,6 @@ module RemoteStorage
|
|||||||
signature = s3_signer.sign_request(
|
signature = s3_signer.sign_request(
|
||||||
http_method: http_method, url: url, headers: headers, body: data
|
http_method: http_method, url: url, headers: headers, body: data
|
||||||
)
|
)
|
||||||
|
|
||||||
puts signature.headers.inspect
|
|
||||||
signature.headers
|
signature.headers
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user