fix(logging): not logging error when creating app #2

Closed
lukadev wants to merge 1 commit from lukadev/ssh-portfolio:fix/ssh-log-error into main

View file

@ -88,6 +88,7 @@ impl SshSession {
keystroke_rx, keystroke_rx,
resize_rx, resize_rx,
) )
.inspect_err(|err| tracing::error!("Failed to create app: {err}"))
.ok() .ok()
.map(|app| Arc::new(Mutex::new(app))), .map(|app| Arc::new(Mutex::new(app))),
tui: Arc::new(RwLock::new(None)), tui: Arc::new(RwLock::new(None)),