Skip to content

Commit

Permalink
Merge pull request #117 from rollbar/wj-device-info-default
Browse files Browse the repository at this point in the history
Set captureDeviceInfo false by default
  • Loading branch information
waltjones authored May 13, 2020
2 parents 0bff80f + e610f47 commit c79e963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class Configuration {
this.captureUnhandledRejections = options.captureUnhandledRejections !== undefined ? options.captureUnhandledRejections : !__DEV__;

// Ensure captureDeviceInfo is set before calling payloadOptions() below.
this.captureDeviceInfo = options.captureDeviceInfo === undefined ? true : options.captureDeviceInfo;
this.captureDeviceInfo = options.captureDeviceInfo === undefined ? false : options.captureDeviceInfo;
this.payload = merge(options.payload, this.payloadOptions());
this.enabled = options.enabled === undefined ? true : options.enabled;
this.verbose = options.verbose || false;
Expand Down

0 comments on commit c79e963

Please sign in to comment.