Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm: update file after merge conflict CLOSED TREE
☠☠ backed out by 7db445828978 ☠ ☠
authorSebastian Hengst <archaeopteryx@coole-files.de>
Wed, 21 Mar 2018 01:05:28 +0200
changeset 409108 803f2dfa6e1298ed21ff9d864a90073116942be6
parent 409107 4cf36c1b89d53f85fa90ef384507dd9694bbdd2f
child 409109 7c1bfa75d9e5eb252ca34be7afad4a73f2453a2f
push id33675
push usertoros@mozilla.com
push dateWed, 21 Mar 2018 09:40:24 +0000
treeherdermozilla-central@f4ddf30ecf57 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1444554
milestone61.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 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm: update file after merge conflict CLOSED TREE
browser/modules/BrowserErrorReporter.jsm
--- a/browser/modules/BrowserErrorReporter.jsm
+++ b/browser/modules/BrowserErrorReporter.jsm
@@ -213,17 +213,19 @@ class BrowserErrorReporter {
     }
 
     // Sample the amount of errors we send out
     const sampleRate = Number.parseFloat(this.sampleRatePref);
     if (!Number.isFinite(sampleRate) || (Math.random() >= sampleRate)) {
       return;
     }
 
-     merge rev
+    const exceptionValue = {};
+    const requestBody = {
+      ...this.requestBodyTemplate,
       timestamp: new Date().toISOString().slice(0, -1), // Remove trailing "Z"
       project: Services.prefs.getCharPref(PREF_PROJECT_ID),
       exception: {
         values: [exceptionValue],
       },
       tags: {},
     };