From 108e88e211e783cc480fc3ae3fc84ddf9956d977 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 16 Feb 2025 19:30:33 +0300 Subject: Enable fancy miette errors for the main binary Seems there's not much dependency/binary size impact now, compared to when I first made the KDL config. --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 0a79af2d..e11cd112 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,9 +90,6 @@ fn main() -> Result<(), Box> { env::set_var("XDG_SESSION_TYPE", "wayland"); } - // Set a better error printer for config loading. - niri_config::set_miette_hook().unwrap(); - // Handle subcommands. if let Some(subcommand) = cli.subcommand { match subcommand { -- cgit