ruff
0c98b594 - Show full error context in server messages (#13029)

Comment changes are shownComment changes are hidden
Commit
315 days ago
Show full error context in server messages (#13029) ## Summary Reference: https://docs.rs/anyhow/latest/anyhow/struct.Error.html#display-representations Closes: #13022 ## Test Plan ``` 2024-08-21 15:21:24.831 [info] [Trace - 3:21:24 PM] 0.017255167s ERROR ThreadId(04) ruff_server::session::index::ruff_settings: Failed to parse /Users/dhruv/playground/ruff/pyproject.toml: TOML parse error at line 1, column 1 | 1 | [tool.ruff.lint] | ^^^^^^^^^^^^^^^^ Unknown rule selector: `ME102` ``` Or, ``` 2024-08-21 15:23:47.993 [info] [Trace - 3:23:47 PM] 143.179857375s ERROR ThreadId(66) ruff_server::session::index::ruff_settings: Failed to parse /Users/dhruv/playground/ruff/pyproject.toml: TOML parse error at line 2, column 42 | 2 | select = ["ALL", "TD006", "TD007", "FIX" | ^ invalid array expected `]` ```
Author
Parents
  • crates/ruff_server/src/session/index
    • File
      ruff_settings.rs
Loading