Backed out changeset 114268fab626 (bug 1035296) for causing bug 1038279. a=backout
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 15 Jul 2014 08:36:58 -0400
changeset 215845 31c5d0a5115d865950a1d799db729b6846fe7445
parent 215844 e032c429908bdef64e3ac89fce869732b6d60f47
child 216001 d2d56f9066bf99bd6c2573a239163bc1d03869ea
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1035296, 1038279
milestone33.0a1
backs out114268fab62613308e2854714880dbb8ca9c64cb
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
Backed out changeset 114268fab626 (bug 1035296) for causing bug 1038279. a=backout
toolkit/devtools/server/protocol.js
--- a/toolkit/devtools/server/protocol.js
+++ b/toolkit/devtools/server/protocol.js
@@ -1102,19 +1102,17 @@ let Front = Class({
       let msg = "Unexpected packet " + this.actorID + ", " + JSON.stringify(packet);
       let err = Error(msg);
       console.error(err);
       throw err;
     }
 
     let deferred = this._requests.shift();
     if (packet.error) {
-      let message = (packet.error == "unknownError" && packet.message) ?
-                    packet.message : packet.error;
-      deferred.reject(message);
+      deferred.reject(packet.error);
     } else {
       deferred.resolve(packet);
     }
   }
 });
 exports.Front = Front;
 
 /**