mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
add key info to error enum
This commit is contained in:
parent
ebe8d849d6
commit
e1592425b9
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ impl Memory {
|
|||
.borrow_mut()
|
||||
.insert(url, profile_identity_gemini_id)
|
||||
{
|
||||
Some(_) => Err(Error::Overwrite), // @TODO prevent?
|
||||
Some(key) => Err(Error::Overwrite(key)), // @TODO prevent?
|
||||
None => Ok(()),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue