Skip to content

[Bug] Spurious warning on fresh database #249

@samcarey

Description

@samcarey

Describe the bug

On a fresh startup with no previously existing database, upon a GET, this match case gets matched and prints a warning even though nothing is wrong.

I think it should actually be

(Ok(Some(_)), Ok(None)) => {

Ok(Some(_)) instead of Ok(_)

To reproduce

  1. Enable logging at warning or more verbose.
  2. Start the plugin with no existing database and the create_db key present in the config
  3. Do a GET against the plugin

System info

  • MacOS, M2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions