chore: Enhance error logging in LoginInAccount function for better traceability (#4442)

This commit is contained in:
frank 2023-12-12 11:15:26 +08:00 committed by GitHub
parent 271778a1e0
commit 575a421786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ func LoginAccount(requestJSON string) string {
api.RunAsync(func() error {
err := statusBackend.LoginAccount(&request)
if err != nil {
log.Error("loginAccount error", err)
log.Error("loginAccount failed", "error", err)
return err
}
log.Debug("loginAccount started node")