diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2024-10-13 10:44:31 +0300 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2024-10-13 10:44:31 +0300 |
| commit | 7ff4f0727ef05b63be4b91290d0d4b8f3f3854b4 (patch) | |
| tree | 933ad1ae8379279efd0ffdd298fb06566e1adb6a /src/wm_info_provider/hyprland.rs | |
| parent | 2febf2044d96cef4a8e55bcff8da678b31ef98f0 (diff) | |
| download | i3bar-mango-7ff4f0727ef05b63be4b91290d0d4b8f3f3854b4.tar.gz | |
fix error handling in wm_info_provider
Diffstat (limited to 'src/wm_info_provider/hyprland.rs')
| -rw-r--r-- | src/wm_info_provider/hyprland.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wm_info_provider/hyprland.rs b/src/wm_info_provider/hyprland.rs index 0d7d4ec..19a259a 100644 --- a/src/wm_info_provider/hyprland.rs +++ b/src/wm_info_provider/hyprland.rs @@ -39,7 +39,7 @@ impl WmInfoProvider for HyprlandInfoProvider { match hyprland_cb(ctx.conn, ctx.state) { Ok(()) => Ok(event_loop::Action::Keep), Err(e) => { - ctx.state.set_error(ctx.conn, e); + ctx.state.set_error(ctx.conn, "hyprland", e); Ok(event_loop::Action::Unregister) } } |
