Commit 0b09792f authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui
Browse files

correctly log zbus error

parent b5537f9d
......@@ -83,7 +83,7 @@ impl ObjectImpl for ColourEntryPrivate {
colour_selector.connect_clicked(clone!(@weak self.entry as entry => move |_| {
match colour::pick_color() {
Ok(rgba) => entry.set_text(&colour::rgba_to_hex(&rgba)),
Err(_) => warn!("Failed to pick a color"),
Err(why) => error!("Failed to pick a color {}", why),
}
}));
self_.show();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment