feat: logging support and proper error handling
This commit is contained in:
@@ -25,7 +25,8 @@ impl Popup {
|
||||
let window = self.window.clone();
|
||||
let tx = tx.clone();
|
||||
button.connect_clicked(move |_| {
|
||||
tx.try_send(FocusEvent::ConId(con_id)).unwrap();
|
||||
tx.try_send(FocusEvent::ConId(con_id))
|
||||
.expect("Failed to send focus event");
|
||||
window.hide();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user