Skip to content

Commit

Permalink
add recovered address info log (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhiran authored Dec 10, 2024
1 parent eb45f13 commit 507ed0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/apinode/api/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func (s *httpServer) createTask(c *gin.Context) {
var addr common.Address
var approved bool
for _, r := range recovered {
slog.Info("recovered address", "project_id", pid.String(), "address", r.addr.String())
ok, err := s.db.IsDeviceApproved(pid, r.addr)
if err != nil {
slog.Error("failed to check device permission", "error", err)
Expand Down

0 comments on commit 507ed0c

Please sign in to comment.