Use better signature match in deprecation message

This commit is contained in:
Kevin Sawicki 2015-12-15 16:27:01 -08:00
parent 4718c726f6
commit 80e9631220

View file

@ -28,11 +28,11 @@ class CrashReporter
extra._version ?= app.getVersion() extra._version ?= app.getVersion()
unless companyName? unless companyName?
deprecate.log('companyName is now a required option to CrashReporter::start') deprecate.log('companyName is now a required option to crashReporter.start')
return return
unless submitURL? unless submitURL?
deprecate.log('submitURL is now a required option to CrashReporter::start') deprecate.log('submitURL is now a required option to crashReporter.start')
return return
start = => binding.start @productName, companyName, submitURL, autoSubmit, ignoreSystemCrashHandler, extra start = => binding.start @productName, companyName, submitURL, autoSubmit, ignoreSystemCrashHandler, extra