diff --git a/src/screens/ListApp.tsx b/src/screens/ListApp.tsx index b04d9e8..9054409 100644 --- a/src/screens/ListApp.tsx +++ b/src/screens/ListApp.tsx @@ -177,7 +177,11 @@ const ListApp = (props: Props) => { { - Promise.reject(new Error('Unhandled Promise Rejection')); + Promise.reject(new Error('Unhandled Promise Rejection')).catch( + (error: Error) => { + Sentry.captureException(error); + }, + ); }}> Unhandled Promise Rejection