Mailspring/internal_packages/onboarding
Drew Regitsky 62fb708797 fix(onboarding): fix error handling for invalid account data from server
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
2015-10-05 17:31:29 -07:00
..
assets fix(welcome): small ui tweaks in welcome/onboarding 2015-10-02 15:34:56 -07:00
lib fix(onboarding): fix error handling for invalid account data from server 2015-10-05 17:31:29 -07:00
spec fix(specs): Fix specs for environment config 2015-10-02 15:31:05 -07:00
stylesheets fix(onboarding): Invitation code system, just in case 2015-10-04 16:49:41 -07:00
package.json