mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-12 14:07:42 +00:00
list: log clipboard copy errors and update notification message
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a69649bdd37a44f254d520e33a54634958ada
This commit is contained in:
parent
d8b1ac1f37
commit
f8440926b1
1 changed files with 2 additions and 1 deletions
|
|
@ -306,9 +306,10 @@ impl SqliteClipboardDb {
|
|||
.show();
|
||||
},
|
||||
Err(e) => {
|
||||
log::error!("Failed to copy entry to clipboard: {e}");
|
||||
let _ = Notification::new()
|
||||
.summary("Stash")
|
||||
.body(&format!("Failed to copy entry: {e}"))
|
||||
.body(&format!("Failed to copy to clipboard: {e}"))
|
||||
.show();
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue