1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

Restore window creation error logging

revert 4f59c17f19 as it didn't help
This commit is contained in:
Wez Furlong 2022-04-05 07:17:07 -07:00
parent dc33a5b081
commit de615080b2

View File

@ -205,7 +205,7 @@ impl GuiFrontEnd {
promise::spawn::spawn(async move { promise::spawn::spawn(async move {
while let Some(mux_window_id) = mux_windows.next() { while let Some(mux_window_id) = mux_windows.next() {
if let Err(err) = TermWindow::new_window(mux_window_id).await { if let Err(err) = TermWindow::new_window(mux_window_id).await {
log::error!("Failed to create window: {:#} ({:?})", err, err); log::error!("Failed to create window: {:#}", err);
let mux = Mux::get().expect("switching_workspaces to trigger on main thread"); let mux = Mux::get().expect("switching_workspaces to trigger on main thread");
mux.kill_window(mux_window_id); mux.kill_window(mux_window_id);
} }