mirror of
https://github.com/nasa/openmct.git
synced 2025-01-10 23:12:57 +00:00
[API] Don't instantiate Error
This commit is contained in:
parent
3b1fe93191
commit
08e28018c1
@ -297,7 +297,7 @@ define([
|
|||||||
* @memberof module:openmct.TelemetryAPI~TelemetryProvider#
|
* @memberof module:openmct.TelemetryAPI~TelemetryProvider#
|
||||||
*/
|
*/
|
||||||
_.forEach({
|
_.forEach({
|
||||||
request: Promise.reject(new Error("No such provider")),
|
request: Promise.reject("No such provider"),
|
||||||
subscribe: undefined,
|
subscribe: undefined,
|
||||||
properties: [],
|
properties: [],
|
||||||
formatter: undefined,
|
formatter: undefined,
|
||||||
|
Loading…
Reference in New Issue
Block a user