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

Log and continue when the importer scanner encounters a directory that is inaccessible or does not exist #2905

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

testforstephen
Copy link
Contributor

…t is inaccessible or does not exist

Signed-off-by: Jinbo Wang <[email protected]>
Copy link
Contributor

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

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

Change seems fine and reduces the volume of errors in the logs.

I was able to reproduce by just restricting permissions on a folder (eg. .vscode/ ) . I expected this change to leave the language support in a broken state but everything seemed to work despite the project import failing. Any ideas why ? Update: I'm wrong, the project import definitely broke certain things like searching into libraries, and go-to-definition.

Feel free to merge once the error message is updated.

@testforstephen testforstephen merged commit 3299d65 into eclipse-jdtls:master Oct 18, 2023
@testforstephen testforstephen deleted the jinbo_scan branch October 18, 2023 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants