Skip to content

Commit

Permalink
Merge #501
Browse files Browse the repository at this point in the history
501: Adds an extra guard before checking e.code r=mattBrzezinski a=rofinn

This is just a single line change to make an error easier to understand :)

Co-authored-by: rofinn <rory.finnegan@gmail.com>
  • Loading branch information
bors[bot] and rofinn committed Oct 26, 2021
2 parents eb5e362 + 33c0b1f commit 4bf7f71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
@@ -1,7 +1,7 @@
name = "AWS"
uuid = "fbe9abb3-538b-5e4e-ba9e-bc94f4f92ebc"
license = "MIT"
version = "1.68.0"
version = "1.68.1"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/request.jl
Expand Up @@ -107,7 +107,7 @@ function submit_request(aws::AbstractAWSConfig, request::Request; return_headers

# Handle ExpiredToken...
# https://github.com/aws/aws-sdk-go/blob/v1.31.5/aws/request/retryer.go#L98
@retry if e.code in EXPIRED_ERROR_CODES
@retry if e isa AWSException && e.code in EXPIRED_ERROR_CODES
check_credentials(credentials(aws); force_refresh=true)
end

Expand Down

2 comments on commit 4bf7f71

@mattBrzezinski
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/47990

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.68.1 -m "<description of version>" 4bf7f712231cec60696991e4c1f6c02bb0735915
git push origin v1.68.1

Please sign in to comment.