diff --git a/lib/common/api/crash-reporter.js b/lib/common/api/crash-reporter.js index c52ad242f21b..cc284e8aceca 100644 --- a/lib/common/api/crash-reporter.js +++ b/lib/common/api/crash-reporter.js @@ -106,8 +106,10 @@ class CrashReporter { // TODO(2.0) Remove setExtraParameter (key, value) { - deprecate.warn('crashReporter.setExtraParameter', - 'crashReporter.addExtraParameter or crashReporter.removeExtraParameter') + if (!process.noDeprecations) { + deprecate.warn('crashReporter.setExtraParameter', + 'crashReporter.addExtraParameter or crashReporter.removeExtraParameter') + } binding.setExtraParameter(key, value) }