diff --git a/lib/plugin.js b/lib/plugin.js index 31669a6..1d89238 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -176,6 +176,10 @@ Plugin.installed = function() { pjson = Plugin.loadPackageJSON(pluginPath); } catch (err) { + if (name.substring(0,11) === 'homebridge-') { + // show warning only if module starts with prefix + log.warn("Warning: skipping plugin found at '" + pluginPath + "' because of: " + err.message); + } // swallow error and skip this module continue; }