Bug 1049035: Don't redeclare arg 'msg', in health report function '_recordProviderError'. r=gps
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 05 Aug 2014 22:35:30 -0700
changeset 219800 8d044c5d7c9247623585108b35a05cbc8a66fbf4
parent 219799 e9348984ca0eabb416f501728223f0860a2ee7b1
child 219801 969587e6bfcfa3774dab41c021933d0f31b12d86
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)
reviewersgps
bugs1049035
milestone34.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 1049035: Don't redeclare arg 'msg', in health report function '_recordProviderError'. r=gps
services/metrics/providermanager.jsm
--- a/services/metrics/providermanager.jsm
+++ b/services/metrics/providermanager.jsm
@@ -523,17 +523,17 @@ this.ProviderManager.prototype = Object.
       throw new Task.Result(this);
     }.bind(this));
   },
 
   /**
    * Record an error that occurred operating on a provider.
    */
   _recordProviderError: function (name, msg, ex) {
-    let msg = "Provider error: " + name + ": " + msg;
+    msg = "Provider error: " + name + ": " + msg;
     if (ex) {
       msg += ": " + CommonUtils.exceptionStr(ex);
     }
     this._log.warn(msg);
 
     if (this.onProviderError) {
       try {
         this.onProviderError(msg);