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

improvement: report QDox errors #7051

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

kasiaMarek
Copy link
Contributor

connected to: #7034

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for digging into this!

@@ -47,9 +56,14 @@ class JavaMtags(virtualFile: Input.VirtualFile, includeMembers: Boolean)
}
source.getClasses.asScala.foreach(visitClass)
} catch {
case _: ParseException | _: NullPointerException =>
// Parse errors are ignored because the Java source files we process
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that was not true 😅 They can report an issue

position: Option[lsp4j.Position]
) = {
try {
val content = position
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we also log it to make sure users notice?

@kasiaMarek kasiaMarek requested a review from tgodzik January 7, 2025 10:24
@kasiaMarek kasiaMarek merged commit c5509ed into scalameta:main Jan 7, 2025
23 checks passed
@kasiaMarek kasiaMarek deleted the report-qdox-errors branch January 7, 2025 11:30
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