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

Analysis should not fail when highlighting has invalid text range #4604

Merged
merged 3 commits into from Mar 22, 2024

Conversation

saberduck
Copy link
Contributor

@saberduck saberduck commented Mar 20, 2024

Fixes #4550

TypeOfText.valueOf(highlight.textType)
);
} catch (IllegalArgumentException e) {
LOG.warn("Failed to save highlight", e);

Choose a reason for hiding this comment

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

Should we include in the warning the filename and the line number? I think it could help us save some time to investigate issues reported by users.

);
}
} catch (IllegalArgumentException e) {
LOG.warn("Failed to create symbol", e);

Choose a reason for hiding this comment

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

Same question.

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM!

@saberduck saberduck merged commit 41a3714 into master Mar 22, 2024
14 checks passed
@saberduck saberduck deleted the i4550 branch March 22, 2024 13:00
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.

Analysis should not fail when highlighting has invalid text range
2 participants