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

Show nice error message when attempting to add task event listener filtered by id #35

Open
caolan opened this issue Jan 24, 2014 · 0 comments

Comments

@caolan
Copy link
Contributor

caolan commented Jan 24, 2014

We prevent filtering of task events by id to help avoid memory leaks. However, in the frontend you can filter by id. This might be confusing to plugin authors so we should show a nice error message that explains this when a listener is added with id filtering.

Use the 'newListener' event provided by Node's EventEmitter to detect these.

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

1 participant