From b3bb597b83c1906d341487260ae0ed347ba3dc4c Mon Sep 17 00:00:00 2001 From: jerry-enebeli Date: Sun, 9 Jun 2024 12:59:30 +0100 Subject: [PATCH] search fix --- README.md | 2 +- search.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 515ad0a..f9b1e18 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Build and Test Status](https://res.cloudinary.com/dp8bwjdvg/image/upload/v1715242318/Blnk_AVI_tuxwg1.png +![Logo](https://res.cloudinary.com/dp8bwjdvg/image/upload/v1715242318/Blnk_AVI_tuxwg1.png ) # Status at a Glance diff --git a/search.go b/search.go index 95c0de0..efba2f8 100644 --- a/search.go +++ b/search.go @@ -72,9 +72,8 @@ func (t *TypesenseClient) Search(ctx context.Context, collection string, searchP func (t *TypesenseClient) HandleNotification(table string, data map[string]interface{}) error { if err := EnsureCollectionsExist(t, context.Background()); err != nil { if strings.Contains(err.Error(), "already exists.") { - return nil + logrus.Warningln(err) } - logrus.Warningln(err) } metaData, ok := data["meta_data"]