fix: suppress unhandled rejection from saveStatus on rate limit
CI / Build & Quality Checks (push) Failing after 5m34s

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 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 19:36:26 -04:00
parent 845c564618
commit fb51b8264c
@@ -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) {