summaryrefslogtreecommitdiffstats
path: root/zellij-client
diff options
context:
space:
mode:
authorraphCode <15750438+raphCode@users.noreply.github.com>2022-07-26 17:47:25 +0200
committerGitHub <noreply@github.com>2022-07-26 17:47:25 +0200
commit408f520e4c1c30ed0f90aa80c0a02e3c6e70c511 (patch)
tree194d9b2bbc9cf0fb8aa0e23e8d4646d28ff6d0e9 /zellij-client
parent9dc392e75b960f53b2b39bf40fca3eb912a91862 (diff)
Log every panic to the logfile (#1602)
* Add unified panic logging * Remove redundant logging in client * Add to changelog * Improve changelog
Diffstat (limited to 'zellij-client')
-rw-r--r--zellij-client/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs
index 3b81694b4..380b39c86 100644
--- a/zellij-client/src/lib.rs
+++ b/zellij-client/src/lib.rs
@@ -7,7 +7,6 @@ mod sessions;
mod stdin_ansi_parser;
mod stdin_handler;
-use log::error;
use log::info;
use std::env::current_exe;
use std::io::{self, Write};
@@ -210,7 +209,6 @@ pub fn start_client(
let send_client_instructions = send_client_instructions.clone();
let os_input = os_input.clone();
Box::new(move |info| {
- error!("Panic occurred in client:\n{:?}", info);
if let Ok(()) = os_input.unset_raw_mode(0) {
handle_panic(info, &send_client_instructions);
}