Disable deprecation warning of crashReported.setExtraParameter()
It caused a couple of Crash Reported tests to timeout on Mac. Task to enable it back: https://github.com/electron/electron/issues/11012
This commit is contained in:
parent
8736a41cfb
commit
b3a1fc65e5
1 changed files with 8 additions and 4 deletions
|
@ -106,10 +106,14 @@ class CrashReporter {
|
|||
|
||||
// TODO(2.0) Remove
|
||||
setExtraParameter (key, value) {
|
||||
if (!process.noDeprecations) {
|
||||
deprecate.warn('crashReporter.setExtraParameter',
|
||||
'crashReporter.addExtraParameter or crashReporter.removeExtraParameter')
|
||||
}
|
||||
// TODO(alexeykuzmin): Warning disabled since it caused
|
||||
// a couple of Crash Reported tests to time out on Mac. Add it back.
|
||||
// https://github.com/electron/electron/issues/11012
|
||||
|
||||
// if (!process.noDeprecations) {
|
||||
// deprecate.warn('crashReporter.setExtraParameter',
|
||||
// 'crashReporter.addExtraParameter or crashReporter.removeExtraParameter')
|
||||
// }
|
||||
binding.setExtraParameter(key, value)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue