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

Replace console errors with configuration warnings #7

Merged
merged 2 commits into from
Mar 23, 2024

Conversation

Pennycook
Copy link
Owner

Instead of pushing an error to the console every time that an input cannot be found in the InputMap, we can add it to the ActionPrompt's configuration warnings instead.

This reduces the amount of console output and makes it clearer where the issue lies.

Closes #6.


@betalars, could you please test this and let me know if you agree that it addresses the issue you raised in #6?

Instead of pushing an error to the console every time that an input
cannot be found in the InputMap, we can add it to the ActionPrompt's
configuration warnings instead.

This reduces the amount of console output and makes it clearer where
the issue lies.

Closes #6.
@Pennycook Pennycook added the enhancement New feature or request label Feb 25, 2024
@Pennycook Pennycook merged commit 26fe9f8 into main Mar 23, 2024
@Pennycook Pennycook deleted the configuration-warnings branch March 23, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Acton Prompt raises Editor Errors when used
1 participant