File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
docs/platforms/javascript/common/configuration/integrations Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ if (flagsIntegration) {
6363} else {
6464 // check your configure step
6565}
66- Sentry .captureException (Exception (' broke' ));
66+ Sentry .captureException (new Error (' broke' ));
6767` ` `
6868
6969Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ import * as LaunchDarkly from 'launchdarkly-js-client-sdk';
6969// You may have to wait for your client to initialize before doing this.
7070ldClient? .variation (" hello" , false );
7171
72- Sentry .captureException (Exception (" Something went wrong!" ))
72+ Sentry .captureException (new Error (" Something went wrong!" ))
7373` ` `
7474
7575Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ import { OpenFeature } from '@openfeature/web-sdk';
7373const client = OpenFeature .getClient ();
7474const result = client .getBooleanValue (' hello' , false );
7575
76- Sentry .captureException (Exception (" Something went wrong!" ))
76+ Sentry .captureException (new Error (" Something went wrong!" ))
7777```
7878
7979Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false".
You can’t perform that action at this time.
0 commit comments