[API] Don't instantiate Error

This commit is contained in:
Victor Woeltjen 2016-09-30 15:09:09 -07:00
parent 3b1fe93191
commit 08e28018c1

View File

@ -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,