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 230076 213c8b42fc880f710102fb7464e3a848a2c4a8cb
parent 230075 b18a55eb6d3c2a0087ff0cc489c7f7b9700ecb7b
child 230077 20f53a75328649556aa3ca7c5addd301a79367cf
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN
bugs1071835
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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);});
   },
 };