From f8440926b1f1349d626e499ccb7c462f8a35bfbb Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 9 Oct 2025 11:45:22 +0300 Subject: [PATCH] list: log clipboard copy errors and update notification message Signed-off-by: NotAShelf Change-Id: I6a6a69649bdd37a44f254d520e33a54634958ada --- src/commands/list.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/list.rs b/src/commands/list.rs index c20b0a0..c2be9c1 100644 --- a/src/commands/list.rs +++ b/src/commands/list.rs @@ -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(); }, }