diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-16 19:30:33 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-16 19:37:37 +0300 |
| commit | 108e88e211e783cc480fc3ae3fc84ddf9956d977 (patch) | |
| tree | cf6ca87c4c1df74d1a542a3c346b8445168cc5b7 /src | |
| parent | a693f64c4146909c295c63b6c1696148f4138a19 (diff) | |
| download | niri-108e88e211e783cc480fc3ae3fc84ddf9956d977.tar.gz niri-108e88e211e783cc480fc3ae3fc84ddf9956d977.tar.bz2 niri-108e88e211e783cc480fc3ae3fc84ddf9956d977.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 0 insertions, 3 deletions
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<dyn std::error::Error>> { 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 { |
