@homebridge/dbus-native 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bus.js +1 -1
- package/package.json +1 -1
package/lib/bus.js
CHANGED
|
@@ -137,7 +137,7 @@ module.exports = function bus(conn, opts) {
|
|
|
137
137
|
args = [null].concat(args); // first argument - no errors, null
|
|
138
138
|
handler.apply(props, args); // body as array of arguments
|
|
139
139
|
} else {
|
|
140
|
-
handler.call(props, args); // body as first argument
|
|
140
|
+
handler.call(props, {name: msg.errorName, message: args}); // body as first argument
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
} else if (msg.type === constants.messageType.signal) {
|