Skip to content

cache_s3 outputs misleading 404 message (from aws.s3::head_object) for new keys. #96

@stelsemeyer

Description

@stelsemeyer

In cache_s3's cache_has_key uses aws.s3::head_object (ref), which outputs a message Client error: (404) Not Found when the key does not exist yet.
These messages spam the logs/outputs, which can be a bit misleading, as they are somewhat expected behaviour.

It would be nice to suppress this message in some way, for example by implementing a "better" version of aws.s3::head_object or simply using suppressMessages (which seems to be used for the gcs variant).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions