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

prevent error in evaluateRequest when a variable is not found #438

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

oltolm
Copy link
Contributor

@oltolm oltolm commented Aug 24, 2024

This prevents the error message when a variable can not be found. Fixes #429.

@oltolm oltolm mentioned this pull request Aug 27, 2024
@GitMensch
Copy link
Collaborator

This should definitely be disabled for 'hover' but the 'watch' context shows the error not in a message box but in the variable "output", no?

@oltolm oltolm force-pushed the evaluateRequest_fix branch 2 times, most recently from 3129469 to 86d4166 Compare September 13, 2024 23:31
@oltolm
Copy link
Contributor Author

oltolm commented Sep 13, 2024

I changed it to only send an error in the watch context.

Copy link
Collaborator

@GitMensch GitMensch left a comment

Choose a reason for hiding this comment

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

That's a good direction.

Please swap the check testing for hover as this makes it more clear that we don't want an error for this case, an additional comment like "suppress error for hover as the user may just play with the mouse" would be good, too.

Add a Changelog entry and that's good for merge.

@oltolm
Copy link
Contributor Author

oltolm commented Sep 14, 2024

Done. Please release a new version. I fixed a severe bug 6 months ago and it is still not in a released version.

@GitMensch GitMensch merged commit d840528 into WebFreak001:master Sep 14, 2024
5 checks passed
@oltolm oltolm deleted the evaluateRequest_fix branch September 14, 2024 12:42
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.

Popup error on hovering.
2 participants