diff --git a/src/errorLogging/index.js b/src/errorLogging/index.js index 4842d19973..d141b9e6cf 100644 --- a/src/errorLogging/index.js +++ b/src/errorLogging/index.js @@ -29,12 +29,9 @@ export default () => { // TODO: Set severity and exception mechanism. // https://github.com/getsentry/sentry-react-native/blob/adfb66f16438dfd98f280307844778c7291b584b/src/js/integrations/reactnativeerrorhandlers.ts#L235-L239 - // Send exception to the host app. logException( error, {}, () => { + // Wait for the exception to be sent to host app. defaultHandler( error, isFatal ); } ); - - // TODO: Wait for the exception to be sent to host app. - defaultHandler( error, isFatal ); } ); };