Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 7, 2023
1 parent 1e6baea commit ad8ff3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function request(
isnothing(body) && (body = UInt8[])
headers = _ensure_headers(headers)
_authenticate!(ctx, headers)
opts = (;redirect = false, pool = POOL, verbose=2)
opts = (;redirect = false, pool = POOL, readtimeout=120, logerrors=true, verbose=3)
@info "HTTP.request" method url
r = Base.with_logger(Logging.ConsoleLogger(stderr, Logging.Debug)) do
HTTP.request(method, url, headers; query = query, body = body, opts..., kw...)
Expand Down

0 comments on commit ad8ff3d

Please sign in to comment.