mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 18:19:44 -05:00
* Initial plan * Add clock-drift error handling to sync flow Co-authored-by: MatissJanis <886567+MatissJanis@users.noreply.github.com> * Add release notes for PR #6789 * Refactor error handling in sync flow - Extracted error handling logic into a separate function for better readability and maintainability. - Updated the receiveMessages and _sendMessages functions to utilize the new errorHandler. - Removed redundant error handling code from the _sendMessages function. - Enhanced error handling for SyncError and ClockDriftError to emit specific events. * Enhance error handling in receiveMessages function - Added try-catch block to handle Timestamp.ClockDriftError specifically. - Emitted a sync error event for clock-drift errors to improve synchronization feedback. - Maintained existing functionality while improving error reporting. * Update authorship in release notes and refine clock-drift error messaging for clarity --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MatissJanis <886567+MatissJanis@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>