mirror of
https://github.com/status-im/status-go.git
synced 2025-02-16 08:50:09 +00:00
fix: send LoggedIn signal when UpdateNodeConfigFleet failed on login (#4829)
This commit is contained in:
parent
c3240b296c
commit
3f98a34eae
@ -233,7 +233,8 @@ func login(accountData, password, configJSON string) error {
|
||||
log.Debug("start a node with account", "key-uid", account.KeyUID)
|
||||
err := statusBackend.UpdateNodeConfigFleet(account, password, &conf)
|
||||
if err != nil {
|
||||
return err
|
||||
log.Error("failed to update node config fleet", "key-uid", account.KeyUID, "error", err)
|
||||
return statusBackend.LoggedIn(account.KeyUID, err)
|
||||
}
|
||||
|
||||
err = statusBackend.StartNodeWithAccount(account, password, &conf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user