mikedeboer / jsDAV

jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
http://www.mikedeboer.nl
MIT License
681 stars 159 forks source link

Add only working plugins to Server.DEFAULT_PLUGINS #122

Closed paroga closed 9 years ago

paroga commented 9 years ago

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 commented 9 years ago

I like it! Thanks for this contribution :)