mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix(complete-module): logging
This commit is contained in:
parent
15bf40bc10
commit
3ee213081e
6 changed files with 16 additions and 12 deletions
|
|
@ -153,10 +153,9 @@ func (c *completionDialogCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
}
|
||||
|
||||
if query != c.query {
|
||||
logging.Info("Query", query)
|
||||
items, err := c.completionProvider.GetChildEntries(query)
|
||||
if err != nil {
|
||||
logging.Error("Failed to get child entries", err)
|
||||
status.Error(err.Error())
|
||||
}
|
||||
|
||||
c.listView.SetItems(items)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue