forked from vikunja/vikunja
chore(tasks): better error messages when indexing tasks into Typesense
This commit is contained in:
parent
b99b323c4c
commit
8a15c91a4f
|
@ -44,12 +44,12 @@ var indexCmd = &cobra.Command{
|
|||
|
||||
err := models.CreateTypesenseCollections()
|
||||
if err != nil {
|
||||
log.Critical(err.Error())
|
||||
log.Criticalf("Could not create Typesense collections: %s", err.Error())
|
||||
return
|
||||
}
|
||||
err = models.ReindexAllTasks()
|
||||
if err != nil {
|
||||
log.Critical(err.Error())
|
||||
log.Criticalf("Could not reindex all tasks into Typesense: %s", err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user