From 575a421786bd12395ec0f05110f3b7e0e08101a0 Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 12 Dec 2023 11:15:26 +0800 Subject: [PATCH] chore: Enhance error logging in LoginInAccount function for better traceability (#4442) --- mobile/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/status.go b/mobile/status.go index 324f42a42..89a8e2344 100644 --- a/mobile/status.go +++ b/mobile/status.go @@ -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")