From 08e28018c1530318fd137e7dcea5a3f1505af74a Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 30 Sep 2016 15:09:09 -0700 Subject: [PATCH] [API] Don't instantiate Error --- src/api/telemetry/TelemetryAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/telemetry/TelemetryAPI.js b/src/api/telemetry/TelemetryAPI.js index 142c2d9132..b9f2164e41 100644 --- a/src/api/telemetry/TelemetryAPI.js +++ b/src/api/telemetry/TelemetryAPI.js @@ -297,7 +297,7 @@ define([ * @memberof module:openmct.TelemetryAPI~TelemetryProvider# */ _.forEach({ - request: Promise.reject(new Error("No such provider")), + request: Promise.reject("No such provider"), subscribe: undefined, properties: [], formatter: undefined,