Skip to content

refactor: replace potential panics with safe error handling#259

Merged
tartarughina merged 1 commit into
zed-extensions:mainfrom
fredyw:unwrap_cleanup
May 20, 2026
Merged

refactor: replace potential panics with safe error handling#259
tartarughina merged 1 commit into
zed-extensions:mainfrom
fredyw:unwrap_cleanup

Conversation

@fredyw
Copy link
Copy Markdown
Contributor

@fredyw fredyw commented May 20, 2026

  • Replace panicking calls in java.rs, jdtls.rs, and util.rs with safe Result propagation.
  • Handle malformed LSP settings and unexpected symbol kinds gracefully.
  • Avoid hard crashes in favor of logged errors.

@cla-bot cla-bot Bot added the cla-signed label May 20, 2026
@tartarughina
Copy link
Copy Markdown
Collaborator

@fredyw please fill the PR description

@fredyw
Copy link
Copy Markdown
Contributor Author

fredyw commented May 20, 2026

@fredyw please fill the PR description

Done.

@tartarughina
Copy link
Copy Markdown
Collaborator

Thanks once again for some nice improvements

@tartarughina tartarughina merged commit eacaa3d into zed-extensions:main May 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants