chore: Enhance error logging in LoginInAccount function for better traceability (#4442)
This commit is contained in:
parent
271778a1e0
commit
575a421786
|
@ -305,7 +305,7 @@ func LoginAccount(requestJSON string) string {
|
||||||
api.RunAsync(func() error {
|
api.RunAsync(func() error {
|
||||||
err := statusBackend.LoginAccount(&request)
|
err := statusBackend.LoginAccount(&request)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("loginAccount error", err)
|
log.Error("loginAccount failed", "error", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.Debug("loginAccount started node")
|
log.Debug("loginAccount started node")
|
||||||
|
|
Loading…
Reference in New Issue