homebridge-xbox-tv 3.0.2-beta.1 → 3.0.2-beta.2
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/package.json
CHANGED
|
@@ -193,10 +193,10 @@ class Authentication extends EventEmitter{
|
|
|
193
193
|
this.emit('error', 'No oauth token found. Use authorization manager first.')
|
|
194
194
|
}
|
|
195
195
|
} catch (error) {
|
|
196
|
-
|
|
196
|
+
throw new Error(error);
|
|
197
197
|
};
|
|
198
198
|
} else {
|
|
199
|
-
|
|
199
|
+
this.emit('error', `Authorization not possible, check plugin settings - Client Id: ${this.webApiClientId}`);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|