mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 10:11:25 +08:00
6ea9ab3fbf
Summary: Previously, the logic for deciding wether to report an APIError lived inside NylasAPIRequest and depended on an array of ignorable statusCodes. However, when handling APIErrors, NylasAPIRequest would convert special error codes (for offline errors) into a statusCode of 0, which would automatically be ignored. Given that the delta streaming connection didn't convert status codes to 0, it wouldn't actually ignore the error and end up reporting it, flooding sentry. This commit makes it so that that logic lives inside APIError, and anyone who handles APIErrors can check wether to report them or not, including the delta streaming connection Test Plan: manual :( Reviewers: spang, evan, halla Reviewed By: evan Differential Revision: https://phab.nylas.com/D4235 |
||
---|---|---|
.. | ||
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