Repository: thewh1teagle/rookie (language: rust)

Issue:
[Bug]: rookiepy custom path not working
### What happened?

 the custom path not working and trows an error

### Steps to reproduce

i give custom path db and local state and domain = None

### What browsers are you seeing the problem on?

_No response_

### Relevant log output

```shell
Can't find any cookies

Location:
    rookie-rs\src/lib.rs:475:3
```



Discussion / hints:

Fix patch:
diff --git a/examples/rust/simple.rs b/examples/rust/simple.rs
index 04de087..534ed30 100644
--- a/examples/rust/simple.rs
+++ b/examples/rust/simple.rs
@@ -1,6 +1,6 @@
 fn main() {
   tracing_subscriber::fmt::init();
-  let cookies = rookie::zen(None).unwrap();
+  let cookies = rookie::chrome(None).unwrap();
   for cookie in cookies {
     println!("{:?}", cookie);
   }
diff --git a/rookie-rs/src/lib.rs b/rookie-rs/src/lib.rs
index 9ee494d..5d99700 100644
--- a/rookie-rs/src/lib.rs
+++ b/rookie-rs/src/lib.rs
@@ -498,5 +498,9 @@ pub fn any_browser(
       return Ok(cookies);
     }
   }
-  bail!("Can't find any cookies");
+  bail!(
+    "\nNo cookies found.\n\
+    If you're using a Chromium-based browser, please specify the key file \
+    and run this program with administrator privileges."
+  );
 }


Test patch: