We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6b1947 commit c700a50Copy full SHA for c700a50
crates/ruff_server/src/server/api/requests/execute_command.rs
@@ -34,14 +34,7 @@ impl super::SyncRequestHandler for ExecuteCommand {
34
.with_failure_code(ErrorCode::InvalidParams)?;
35
36
if command == SupportedCommand::Debug {
37
- let output = debug_information(session);
38
- notifier
39
- .notify::<types::notification::LogMessage>(types::LogMessageParams {
40
- message: output,
41
- typ: types::MessageType::INFO,
42
- })
43
- .with_failure_code(ErrorCode::InternalError)?;
44
- return Ok(None);
+ return Ok(Some(serde_json::Value::String(debug_information(session))));
45
}
46
47
// check if we can apply a workspace edit
0 commit comments