From 3bf88f2782866768753102a81f06c017bbe44bf5 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Fri, 22 Jan 2021 15:46:21 +0100 Subject: [PATCH] Add error message --- src/demon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demon.rs b/src/demon.rs index 53b2831..3ee957d 100644 --- a/src/demon.rs +++ b/src/demon.rs @@ -80,7 +80,7 @@ pub fn serve_client_requests( ) -> std::io::Result<()> { match std::fs::remove_file(util::get_swayr_socket_path()) { Ok(()) => println!("Deleted stale socket from previous run."), - Err(e) => eprintln!("{:?}", e), + Err(e) => eprintln!("Could not delete socket:\n{:?}", e), } let listener = UnixListener::bind(util::get_swayr_socket_path())?;