Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-boolean Missing found in boolean context (1/2 union split): goto %69 if not (e Retry.:(==) Retry.nothing)::Union{Missing, Bool} #13

Open
lgeissbauer-btig opened this issue Jan 12, 2023 · 2 comments

Comments

@lgeissbauer-btig
Copy link

julia> JET.@report_call AWSS3.s3_get(AWS.global_aws_config(creds = AWS.AWSCredentials("","")), "bucket", "key")
═════ 3 possible errors found ═════
┌ @ C:\.julia\packages\AWSS3\GTR8D\src\AWSS3.jl:121 AWSS3.:(var"#s3_get#4")(AWSS3.nothing, true, false, AWSS3.nothing, Dict{String, Any}(), false, pairs(NamedTuple()), #self#, aws, bucket, path)
│┌ @ C:\.julia\packages\Retry\vS1bg\src\repeat_try.jl:163 goto %69 if not e Retry.:(==) Retry.nothing
││ non-boolean `Missing` found in boolean context (1/2 union split): goto %69 if not (e Retry.:(==) Retry.nothing)::Union{Missing, Bool}     
│└────────────────────────────────────────────────────────
│┌ @ C:\.julia\packages\Retry\vS1bg\src\repeat_try.jl:163 goto %85 if not AWSS3.in(AWSS3.ecode(e), Base.vect("NoSuchBucket", "NoSuchKey"))   
││ non-boolean `Missing` found in boolean context (1/2 union split): goto %85 if not AWSS3.in(AWSS3.ecode(e::Any)::Any, Base.vect("NoSuchBucket", "NoSuchKey")::Vector{String})::Union{Missing, Bool}
│└────────────────────────────────────────────────────────
│┌ @ C:\.julia\packages\Retry\vS1bg\src\repeat_try.jl:163 goto %69 if not e Retry.:(==) Retry.nothing
││ non-boolean `Missing` found in boolean context (1/2 union split): goto %69 if not (e::Any Retry.:(==) Retry.nothing)::Union{Missing, Bool}
│└────────────────────────────────────────────────────────
@lgeissbauer-btig
Copy link
Author

lgeissbauer-btig commented Jan 12, 2023

@lgeissbauer-btig
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant