Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch panic for Chroma analyze text #914

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Conversation

gandarez
Copy link
Member

Some Chroma lexers are not very well tested and can lead to panics, so this PR catch those panics, log them to the file and return as unknown language.

@gandarez gandarez self-assigned this Aug 17, 2023
@gandarez gandarez merged commit 5c6f222 into develop Aug 17, 2023
17 checks passed
@gandarez gandarez deleted the feature/chroma-panic branch August 17, 2023 20:46
@alanhamlett alanhamlett mentioned this pull request Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants