You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Settings sagas silently drop errors on failure #71585
help wantedOpen for all. You do not need permission to work on these.platform: learnUI side of the client application that needs familiarity with React, Gatsby etc.
When an API request fails on the /settings page (e.g., updating socials, portfolio, or keyboard shortcuts while offline), the UI silently drops the error. No flash message appears, and the Redux state remains out of sync with the server.
This happens because 11 of the catch blocks in client/src/redux/settings/settings-sagas.js yield the action creator function directly instead of invoking it with the error object.
For example:
}catch{yieldput(updateMySocialsError);}
Because updateMySocialsError is passed as a bare function reference, redux-saga ignores it, and no error action is ever dispatched to the Redux store.
Historical Context:
This bug was accidentally cemented in commit 5ef9868 ("refactor: remove unused vars #59658"). A linter/refactoring pass saw catch (e) where e was unreferenced, and stripped the (e) parameter to appease the linter.
Affected Files
client/src/redux/settings/settings-sagas.js
Proposed Fix
Update the 11 affected catch blocks to capture and pass the error object:
}catch(e){yieldput(xxxError(e));}
Export the individual saga functions in settings-sagas.js.
Add a unit test suite using redux-saga-test-plan in a new settings-sagas.test.js file to assert that the put effect correctly yields the invoked error action upon a thrown exception.
I'd like to work on this. My plan: update the 11 catch blocks in client/src/redux/settings/settings-sagas.js to capture and pass the error object (yield put(xxxError(e))), export the individual saga functions, and add a settings-sagas.test.js suite using redux-saga-test-plan asserting the error action is yielded when an exception is thrown. Please assign the issue to me if that works.
help wantedOpen for all. You do not need permission to work on these.platform: learnUI side of the client application that needs familiarity with React, Gatsby etc.
Activity
MuhammadAhmad67889 commentedon Nov 5, 2026
I'd like to work on this. My plan: update the 11 catch blocks in client/src/redux/settings/settings-sagas.js to capture and pass the error object (yield put(xxxError(e))), export the individual saga functions, and add a settings-sagas.test.js suite using redux-saga-test-plan asserting the error action is yielded when an exception is thrown. Please assign the issue to me if that works.