mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-28 18:14:08 +08:00
Summary: This commit adds error handling to the sync-loop's `onSyncError` and `scheduleNextSync`. These functions generally don't fail, as they are in the `catch` and `finally` blocks respectively of the sync loop. But as we've seen in D4152, the datbase can sometime error if it's in a bad state. If it errors inside these functions, we will never schedule the next run of the sync loop. Depends on D4152 Test Plan: manual Reviewers: evan, spang, mark, halla Reviewed By: halla Differential Revision: https://phab.nylas.com/D4153 |
||
---|---|---|
.. | ||
client-app | ||
client-sync | ||
isomorphic-core | ||
README.md |
Monorepo Packages
Each folder here is designed to act as its own repository. For development convenience, they are all included here in one monorepo. This allows us to grep across multiple codebases, not use submodules, and keep a unified commit history.
We use Lerna to manage the monorepo and tie
them all together with the main nylas-mail-all/scripts/postinstall.es6
script,
which in turn, calls lerna bootstrap