Skip to content

Commit 190da44

Browse files
committed
fix: re enable option and removed logs
1 parent 3662120 commit 190da44

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/wrapper.android.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export namespace NATIVE {
534534
}
535535

536536
if (options.sendClientReports) {
537-
// config.setSendClientReports(options.sendClientReports);
537+
config.setSendClientReports(options.sendClientReports);
538538
}
539539

540540
if (options.maxBreadcrumbs) {
@@ -642,7 +642,6 @@ export namespace NATIVE {
642642
// we use this callback to actually try and get the JS stack when a native error is catched
643643
try {
644644
const ex: io.sentry.protocol.SentryException = event.getExceptions().get(0);
645-
console.log('beforeSend', ex, ex.getStacktrace(), ex.getMechanism());
646645
if (ex && ex.getType() === 'NativeScriptException') {
647646
let mechanism = event.getThrowable && event.getThrowable();
648647
if (!mechanism) {
@@ -660,9 +659,7 @@ export namespace NATIVE {
660659
const jsStackTrace: string = (throwable ).getIncomingStackTrace();
661660
if (jsStackTrace) {
662661

663-
console.log('jsStackTrace', jsStackTrace);
664662
const stack = parseErrorStack({ stack: 'at ' + jsStackTrace } as any).reverse();
665-
console.log('stack', stack);
666663
stack.forEach((frame) => rewriteFrameIntegration._iteratee(frame));
667664
addJavascriptExceptionInterface(event, 'Error', throwable.getMessage(), stack.reverse());
668665
}

0 commit comments

Comments
 (0)