test tree foreach

This commit is contained in:
Bel LaPointe
2022-02-16 08:05:14 -07:00
parent 63caf9ed03
commit a7c8a0d481
5 changed files with 39 additions and 16 deletions

View File

@@ -499,7 +499,7 @@ func (server *Server) _apiV0SearchHandler(query string) ([][2]string, error) {
result = append(result, [2]string{id.URLSafeString(), title})
return nil
}); err != nil {
return nil, err
return nil, fmt.Errorf("failed for each: %v", err)
}
return result, nil
}