Skip to content

Improved handling of exceptions in ShellExtension in GroovyScriptEngine #303

@notthetup

Description

@notthetup

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"?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions