From 877ae113128d852148351fb479d4a199753f14f8 Mon Sep 17 00:00:00 2001 From: "seer-by-sentry[bot]" <157164994+seer-by-sentry[bot]@users.noreply.github.com> Date: Tue, 17 Jun 2025 19:59:00 +0000 Subject: [PATCH] feat: Add button to trigger unhandled promise rejection --- src/screens/ListApp.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screens/ListApp.tsx b/src/screens/ListApp.tsx index b04d9e8..4818478 100644 --- a/src/screens/ListApp.tsx +++ b/src/screens/ListApp.tsx @@ -177,6 +177,7 @@ const ListApp = (props: Props) => { { + // This explicitly creates an unhandled rejection for demonstration purposes Promise.reject(new Error('Unhandled Promise Rejection')); }}> Unhandled Promise Rejection