diff --git a/crates/ruff_server/src/server/api/requests/execute_command.rs b/crates/ruff_server/src/server/api/requests/execute_command.rs index c27da9453e..db66417dc0 100644 --- a/crates/ruff_server/src/server/api/requests/execute_command.rs +++ b/crates/ruff_server/src/server/api/requests/execute_command.rs @@ -37,11 +37,11 @@ impl super::SyncRequestHandler for ExecuteCommand { let output = debug_information(session); notifier .notify::(types::LogMessageParams { - message: output, + message: output.clone(), typ: types::MessageType::INFO, }) .with_failure_code(ErrorCode::InternalError)?; - return Ok(None); + return Ok(Some(serde_json::Value::String(output))); } // check if we can apply a workspace edit