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

Improved handling of exceptions in ShellExtension in GroovyScriptEngine #303

Open
notthetup opened this issue Feb 7, 2024 · 0 comments
Open
Assignees

Comments

@notthetup
Copy link
Collaborator

If there is an unhandled Exception in a ShellExtension, that usually ends up showing a Unknown method: <extension method>(...) on the Shell. This is misleading as the method actually exists and is being executed, but had an exception.

Is it possible for the Shell to distinguish between an "unknown method" and a "exception while executing a method" and print more useful errors instead of just "Unknown method"?

@mchitre mchitre self-assigned this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants