Fix error handling when checking for 3Box backup (#7232)
The 3Box SDK throws an HTTP 404 error when attempting to get the config for an account that doesn't yet exist in 3Box. The regex we were using to differentiate this error from others was broken. This ended up preventing the user from logging in if they had 3Box enabled but hadn't yet synced. The regex has been corrected to catch this case, while allowing other errors to propogate upward. Other 3Box errors will now be caught and reported rather than interrupting login completely. At some point in the future, we should expose these errors to the user in some way, and allow them to retry in case 3Box was just temporarily offline.feature/default_network_editable
parent
b69982da84
commit
8d97bdc5c9
Loading…
Reference in new issue