bug 1523104: remote: clarify error message when unable to start HTTPD; r=ochameau
authorAndreas Tolfsen <ato@sny.no>
Thu, 07 Mar 2019 22:14:15 +0000
changeset 521132 1f861b702507
parent 521131 4696a88c5274
child 521133 c750fecfdf21
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1523104
milestone67.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 1523104: remote: clarify error message when unable to start HTTPD; r=ochameau
remote/RemoteAgent.js
--- a/remote/RemoteAgent.js
+++ b/remote/RemoteAgent.js
@@ -75,17 +75,17 @@ class ParentRemoteAgent {
     const protocol = new ProtocolHandler();
     targetList.register(this.server);
     protocol.register(this.server);
 
     try {
       this.server._start(port, host);
       log.info(`Remote debugging agent listening on ${this.scheme}://${this.host}:${this.port}/`);
     } catch (e) {
-      throw new Error(`Unable to start agent on ${port}: ${e.message}`, e);
+      throw new Error(`Unable to start remote agent: ${e.message}`, e);
     }
 
     Preferences.set(RecommendedPreferences);
   }
 
   async close() {
     if (this.listening) {
       try {