Skip to content

Check uses of storage get #149

@bwesterb

Description

@bwesterb

A DO storage get results a Result<>. For the DedupCache we used unwrap_or_default to handle the case the key doesn't exist yet. That is wrong, as it will discard other errors. A convenient helper is get_maybe from this PR which returns a Result<Option<>>. We need to check other uses of DO storage for this error.

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