this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix nil identity null pointer (#387)

Handle failed DID lookups that don't return errors properly

authored by

Jaz and committed by
GitHub
d553e0c9 adea82ed

+6 -1
+6 -1
search/indexing.go
··· 148 148 return err 149 149 } 150 150 151 - log.Info("updating user handle", "handle_from_dir", handle) 151 + if ident == nil { 152 + log.Warn("got nil identity from directory") 153 + return fmt.Errorf("got nil identity from directory") 154 + } 155 + 156 + log.Info("updating user handle", "handle_from_dir", ident.Handle) 152 157 153 158 b, err := json.Marshal(map[string]any{ 154 159 "script": map[string]any{