Mailspring/packages/nylas-core
Juan Tejada ed749e0f51 Add sync worker error handling
- Handles sync errors in a single place. For now, if error is not a
socket error, will treat as a permanent error, save the error to the
account object, and prevent any other syncing until the error is cleared
from the account object
- Adds a NylasError class that can be extended and serialized. Adds it
to global namespace on all packages and replaces all uses of regular
Error
2016-06-27 16:03:38 -07:00
..
migrations Convert to monorepo 2016-06-22 14:41:32 -07:00
models Add sync worker error handling 2016-06-27 16:03:38 -07:00
database-connector.js Add sync worker error handling 2016-06-27 16:03:38 -07:00
database-extensions.js Convert to monorepo 2016-06-22 14:41:32 -07:00
database-types.js Add sync worker error handling 2016-06-27 16:03:38 -07:00
hook-account-crud.js Launch dashboard when in dev mode, publish change on acct creation 2016-06-23 18:17:04 -07:00
hook-transaction-log.js sync db <=> redis with sequelize hooks 2016-06-23 16:28:51 -07:00
imap-connection.js Add sync worker error handling 2016-06-27 16:03:38 -07:00
index.js Add sync worker error handling 2016-06-27 16:03:38 -07:00
nylas-error.js Add sync worker error handling 2016-06-27 16:03:38 -07:00
package.json Add imap dependency to package.json 2016-06-23 13:18:33 -06:00
pubsub-connector.js Rather than changing policies, just set expiring redis key to track activity 2016-06-23 16:28:48 -07:00
scheduler-utils.js Launch dashboard when in dev mode, publish change on acct creation 2016-06-23 18:17:04 -07:00
sync-policy.js Rather than changing policies, just set expiring redis key to track activity 2016-06-23 16:28:48 -07:00