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

Add only working plugins to Server.DEFAULT_PLUGINS #122

Merged
merged 1 commit into from Apr 11, 2015

Conversation

paroga
Copy link
Contributor

@paroga paroga commented Apr 11, 2015

Add a try/catch around the require() call to load the bundled plugins
and use plugins only if there was no exception.
This allows us to have optional dependencies in the plugins.

Add a try/catch around the require() call to load the bundled plugins
and use plugins only if there was no exception.
This allows us to have optional dependencies in the plugins.
@mikedeboer
Copy link
Owner

I like it! Thanks for this contribution :)

mikedeboer added a commit that referenced this pull request Apr 11, 2015
Add only working plugins to Server.DEFAULT_PLUGINS
@mikedeboer mikedeboer merged commit 001775c into mikedeboer:master Apr 11, 2015
@paroga paroga deleted the optional_plugins branch April 19, 2015 20:06
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

Successfully merging this pull request may close these issues.

None yet

2 participants