Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Send back correct error message when action is private #4080

Closed
michielmulders opened this issue Aug 14, 2019 · 1 comment
Closed

Send back correct error message when action is private #4080

michielmulders opened this issue Aug 14, 2019 · 1 comment
Assignees

Comments

@michielmulders
Copy link
Contributor

Expected behavior

Return proper error message when the action is not public.
--> Referring to discussion leading up to this issue.

Expected error message: The action ACTION_NAME on module MODULE_NAME is not public.

Actual behavior

Not clear from error what has gone wrong.

Steps to reproduce

Define an action as private and call the action.
channel.invoke('chain:mytestaction', ...)

Which version(s) does this affect? (Environment, OS, etc...)

2.*

@pablitovicente
Copy link
Contributor

Maybe we should discuss a little deeper about channels check for other issues we need to check/guard against #3539

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants