Bug 1071835 - this._hawkRequestError is not a function in MozLoopService.hawkRequest. r=MattN
authorJared Wein <jwein@mozilla.com>
Tue, 23 Sep 2014 16:40:06 -0400
changeset 225393 07c61c94ab8cd7d272984fb8fadf2179a8785e6d
parent 225392 1d2300d17d3b15fa8659756d5ee76bd1b335c07f
child 225394 ba71cd5336b159acf8d3853df68f90d80060a8e3
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN
bugs1071835
milestone34.0a2
Bug 1071835 - this._hawkRequestError is not a function in MozLoopService.hawkRequest. r=MattN
browser/components/loop/MozLoopService.jsm
--- a/browser/components/loop/MozLoopService.jsm
+++ b/browser/components/loop/MozLoopService.jsm
@@ -1374,11 +1374,11 @@ this.MozLoopService = {
    * @returns {Promise}
    *        Returns a promise that resolves to the response of the API call,
    *        or is rejected with an error.  If the server response can be parsed
    *        as JSON and contains an 'error' property, the promise will be
    *        rejected with this JSON-parsed response.
    */
   hawkRequest: function(sessionType, path, method, payloadObj) {
     return MozLoopServiceInternal.hawkRequest(sessionType, path, method, payloadObj).catch(
-      error => {this._hawkRequestError(error);});
+      error => {MozLoopServiceInternal._hawkRequestError(error);});
   },
 };