Extra properties must be less than 63 characters

I found out that after trying to putting some long text in my extra properties that it was truncated, digging around I found these:

897d58bde1/atom/common/crash_reporter/crash_reporter_win.cc
const int kNameMaxLength = 64;
const int kValueMaxLength = 64;
This commit is contained in:
foo bar code 2017-06-16 14:41:12 +02:00 committed by GitHub
parent 493cfd38d6
commit 4bed743417

View file

@ -45,7 +45,7 @@ The `crashReporter` module has the following methods:
* `ignoreSystemCrashHandler` Boolean (optional) - Default is `false`.
* `extra` Object (optional) - An object you can define that will be sent along with the
report. Only string properties are sent correctly. Nested objects are not
supported.
supported. The property name and the value must be less than 63 characters.
You are required to call this method before using any other `crashReporter` APIs
and in each process (main/renderer) from which you want to collect crash reports.
@ -117,8 +117,8 @@ called before `start` is called.
### `crashReporter.setExtraParameter(key, value)` _macOS_
* `key` String - Parameter key.
* `value` String - Parameter value. Specifying `null` or `undefined` will
* `key` String - Max length 63 - Parameter key.
* `value` String - Max length 63 - Parameter value. Specifying `null` or `undefined` will
remove the key from the extra parameters.
Set an extra parameter to set be sent with the crash report. The values