Skip to content

Commit

Permalink
Don't logerrors by default
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Apr 22, 2023
1 parent 373e657 commit 8c5bb4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CloudBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module AWS
using HTTP
import ..cloudsignlayer, ..cloudmetricslayer, ..AWSCredentials, ..AbstractStore, ..AWS_DEFAULT_REGION

awslayer(handler) = (req; kw...) -> handler(req; kw..., aws=true, logerrors=true, readtimeout=300)
awslayer(handler) = (req; kw...) -> handler(req; kw..., aws=true, readtimeout=300)

HTTP.@client (first=(awslayer, cloudmetricslayer), last=()) (first=(), last=(cloudsignlayer,))

Expand Down Expand Up @@ -196,7 +196,7 @@ module Azure
using HTTP
import ..cloudsignlayer, ..cloudmetricslayer, ..AzureCredentials, ..AbstractStore

azurelayer(handler) = (req; kw...) -> handler(req; azure=true, aws=false, awsv2=false, logerrors=true, readtimeout=300, require_ssl_verification=req.url.host != "127.0.0.1", kw...)
azurelayer(handler) = (req; kw...) -> handler(req; azure=true, aws=false, awsv2=false, readtimeout=300, require_ssl_verification=req.url.host != "127.0.0.1", kw...)

HTTP.@client (first=(azurelayer, cloudmetricslayer), last=()) (first=(), last=(cloudsignlayer,))

Expand Down

0 comments on commit 8c5bb4b

Please sign in to comment.