File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ function connectionlayer(handler)
128128 end
129129 end
130130 root_err = e isa CapturedException ? e. ex : e
131- if logerrors && ! (root_err isa StatusError || root_err isa Exceptions. TimeoutError || root_err isa Base. IOError)
131+ # don't log if it's an HTTPError since we should have already logged it
132+ if logerrors && ! (root_err isa HTTPError)
132133 err = current_exceptions_to_string (e)
133134 @error err type= Symbol (" HTTP.ConnectionRequest" ) method= req. method url= req. url context= req. context logtag= logtag
134135 end
Original file line number Diff line number Diff line change 293293 end
294294
295295 err = try
296- HTTP. get (" http://localhost:8080" ; retry= false , verbose = 3 , logerrors = true )
296+ HTTP. get (" http://localhost:8080" ; retry= false )
297297 catch err
298298 err
299299 end
You can’t perform that action at this time.
0 commit comments