aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-04-18 09:14:24 +0000
committerFuwn <[email protected]>2026-04-18 09:14:24 +0000
commit8c88abecb931cc4ebfa5bb55e4b406db30e46ef8 (patch)
treebeef6e1b4ce54802c97b77773a247a110acc03c0 /src/lib
parentfix(api): await setShadowHidden in badges PUT (diff)
downloaddue.moe-8c88abecb931cc4ebfa5bb55e4b406db30e46ef8.tar.xz
due.moe-8c88abecb931cc4ebfa5bb55e4b406db30e46ef8.zip
fix(settings): catch errors in settings sync fetch chains
The settings store's subscribe callback kicked off a fetch chain to pull/push settings with no .catch() on either promise chain. A network failure or non-ok PUT from /api/configuration would surface as an unhandled promise rejection. Attach a .catch() that logs a descriptive error on both the pull and push chains so sync failures become observable without crashing the page.
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions