aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/main.rs')
-rw-r--r--alacritty/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs
index ca912943..6bb9041c 100644
--- a/alacritty/src/main.rs
+++ b/alacritty/src/main.rs
@@ -32,7 +32,7 @@ use std::sync::Arc;
#[cfg(target_os = "macos")]
use dirs;
use glutin::event_loop::EventLoop as GlutinEventLoop;
-use log::info;
+use log::{error, info};
#[cfg(windows)]
use winapi::um::wincon::{AttachConsole, FreeConsole, ATTACH_PARENT_PROCESS};
@@ -113,7 +113,7 @@ fn main() {
// Run alacritty
if let Err(err) = run(window_event_loop, config) {
- println!("Alacritty encountered an unrecoverable error:\n\n\t{}\n", err);
+ error!("Alacritty encountered an unrecoverable error:\n\n\t{}\n", err);
std::process::exit(1);
}