Skip to content

Commit 22de878

Browse files
add debugger
1 parent 03c5cba commit 22de878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-apis-core/lib/google/apis/core/storage_download.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def execute_once(client, &block)
4545
logger.debug { sprintf('Resuming download from offset %d', @offset) }
4646
request_header[RANGE_HEADER] = sprintf('bytes=%d-', @offset)
4747
end
48-
48+
Google::Apis.logger.level = Logger::DEBUG
4949
http_res = client.get(url.to_s, query, request_header) do |request|
5050
request.options.on_data = proc do |chunk, _size, res|
5151
# The on_data callback is only invoked on a successful response.

0 commit comments

Comments
 (0)