mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-18 16:39:52 +00:00
treewide: make logging format more consistent; make clipboard persistence opt-in
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9092f93c29fcbe99c90483875f4acd0c6a6a6964
This commit is contained in:
parent
9702e67599
commit
da9bf5ea3e
11 changed files with 44 additions and 32 deletions
|
|
@ -710,7 +710,7 @@ impl SqliteClipboardDb {
|
|||
.show();
|
||||
},
|
||||
Err(e) => {
|
||||
log::error!("Failed to copy entry to clipboard: {e}");
|
||||
log::error!("failed to copy entry to clipboard: {e}");
|
||||
let _ = Notification::new()
|
||||
.summary("Stash")
|
||||
.body(&format!("Failed to copy to clipboard: {e}"))
|
||||
|
|
@ -719,7 +719,7 @@ impl SqliteClipboardDb {
|
|||
}
|
||||
},
|
||||
Err(e) => {
|
||||
log::error!("Failed to fetch entry {id}: {e}");
|
||||
log::error!("failed to fetch entry {id}: {e}");
|
||||
let _ = Notification::new()
|
||||
.summary("Stash")
|
||||
.body(&format!("Failed to fetch entry: {e}"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue