Skip to content

Commit 138a1dc

Browse files
committed
chore: cleanup
1 parent 93b716c commit 138a1dc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/wrapper.ios.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,12 @@ export namespace NATIVE {
349349
const exception = event.exceptions?.objectAtIndex(0);
350350
const exceptionvalue = exception?.value;
351351
if(exceptionvalue ) {
352-
353352
const matches =exceptionvalue.match(FATAL_ERROR_REGEXP);
354353
if (matches) {
355354
const errorMessage = matches[1];
356355
const jsStackTrace = exceptionvalue.substring(exceptionvalue.indexOf(matches[2]));
357356
const stack = parseErrorStack({ stack: 'at ' + jsStackTrace } as any).reverse();
358357
stack.forEach((frame) => rewriteFrameIntegration._iteratee(frame));
359-
console.log('errorMessage!', errorMessage);
360-
console.log('jsStackTrace!', jsStackTrace);
361358
addJavascriptExceptionInterface(event, 'Error', errorMessage, stack.reverse());
362359
exception.type = 'NativeScriptException';
363360
exception.value = errorMessage;

0 commit comments

Comments
 (0)