mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
62fb708797
Summary: Change `addAccountFromJSON` in `AccountStore` to throw an exception when it encounters invalid data, instead of calling `atom.emitError()`. Just calling `emitError` doesn't throw an exception, so the code proceeds as if an account has been added. Instead, call `emitError` from AccountSettingsPage, and display an error message to the user. Test Plan: manual Reviewers: bengotow Reviewed By: bengotow Subscribers: evan Differential Revision: https://phab.nylas.com/D2116 |
||
---|---|---|
.. | ||
account-choose-page.cjsx | ||
account-settings-page.cjsx | ||
account-types.coffee | ||
initial-packages-page.cjsx | ||
initial-packages-store.coffee | ||
initial-preferences-page.cjsx | ||
main.cjsx | ||
nylas-api-environment-store.coffee | ||
onboarding-actions.coffee | ||
page-router-store.coffee | ||
page-router.cjsx | ||
token-auth-api.coffee | ||
token-auth-page.cjsx | ||
welcome-page.cjsx |