More helpful plugin load error logging; Publish v0.2.11

This commit is contained in:
Nick Farina
2015-11-05 10:48:32 -08:00
parent b3dbe1165c
commit e3a5c5a96a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ Server.prototype._loadPlugins = function(accessories, platforms) {
catch (err) { catch (err) {
log.error("====================") log.error("====================")
log.error("ERROR LOADING PLUGIN " + plugin.name() + ":") log.error("ERROR LOADING PLUGIN " + plugin.name() + ":")
log.error(err); log.error(err.stack);
log.error("====================") log.error("====================")
plugin.loadError = err; plugin.loadError = err;
} }
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "homebridge", "name": "homebridge",
"description": "HomeKit support for the impatient", "description": "HomeKit support for the impatient",
"version": "0.2.10", "version": "0.2.11",
"scripts": { "scripts": {
"dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true" "dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true"
}, },