Skip to content

Commit

Permalink
Add runtime error for missing channel factory
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman committed Jul 24, 2024
1 parent 2fb5bc0 commit 830c529
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ class PluginExtensionProvider implements ExtensionProvider {
def factory = (ChannelFactoryInstance)reference.target
return factory.invokeExtensionMethod(reference.method, args)
}
else {
throw new MissingMethodException("Channel.${name}", Object.class, args)
}
}

}

0 comments on commit 830c529

Please sign in to comment.