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

More descriptive error messages when controller method attempting to be invoked does not exist #9

Closed
jhoscar1 opened this issue May 11, 2018 · 1 comment

Comments

@jhoscar1
Copy link
Contributor

Spent some time finding and fixing a bug related to the message Cannot read property 'apply' of undefined in the invokers.

Turns out this was coming from the fact that I was attempting to invoke a method that no longer existed because I had changed the name.

I believe a more descriptive error could be helpful.

@talyssonoc
Copy link
Collaborator

Thanks for your contribution! Just published v1.1.0 https://www.npmjs.com/package/awilix-express/v/1.1.0

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

No branches or pull requests

2 participants