mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-11 02:30:21 +08:00
d9ac4e4359
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 |
||
---|---|---|
.. | ||
assets | ||
lib | ||
spec | ||
stylesheets | ||
package.json |