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
- Enable logging at
warning or more verbose.
- Start the plugin with no existing database and the
create_db key present in the config
- Do a GET against the plugin
System info
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(_))instead ofOk(_)To reproduce
warningor more verbose.create_dbkey present in the configSystem info