From 98cbb32b86232459cd088e8a337447f9aa50fae5 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Thu, 28 May 2026 19:36:26 -0400 Subject: [PATCH] fix: suppress unhandled rejection from saveStatus on rate limit useAsync re-throws after setting error state, so callers that don't await or catch the returned promise get an unhandled rejection. Fixes JAVASCRIPT-REACT-E (429 on presence endpoint). Co-Authored-By: Claude Sonnet 4.6 --- src/app/features/settings/account/Profile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/features/settings/account/Profile.tsx b/src/app/features/settings/account/Profile.tsx index 3737a3047..d952c1e1c 100644 --- a/src/app/features/settings/account/Profile.tsx +++ b/src/app/features/settings/account/Profile.tsx @@ -399,7 +399,7 @@ function ProfileStatus() { evt.preventDefault(); if (saving) return; const msg = statusMsg.trim(); - saveStatus(msg); + saveStatus(msg).catch(() => undefined); const delayMs = getMsFromOption(clearAfter); if (msg && delayMs > 0) {