Skip to content

Surface DB errors instead of masking them as "not found" #278

@digitalghost-dev

Description

@digitalghost-dev

The berryExists function previously returned only a bool, discarding any error from connections.QueryBerryData and returning false.

This caused real database failures (temp file creation, sqlite open, query execution) to surface to the user as berry "X" not found, hiding the actual issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/fixSomething isn't working or needs updating.

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions