diff --git a/zellij-server/src/os_input_output.rs b/zellij-server/src/os_input_output.rs index 873451de..3c84d98a 100644 --- a/zellij-server/src/os_input_output.rs +++ b/zellij-server/src/os_input_output.rs @@ -174,12 +174,10 @@ fn handle_openpty( if current_dir.exists() && current_dir.is_dir() { command.current_dir(current_dir); } else { - // TODO: propagate this to the user - return Err(anyhow!( + log::error!( "Failed to set CWD for new pane. '{}' does not exist or is not a folder", current_dir.display() - )) - .context("failed to open PTY"); + ); } } command