From c69ca7da5ce4ece8d630231a44fb59045d166c09 Mon Sep 17 00:00:00 2001 From: John Costa Date: Sat, 10 May 2025 14:30:26 +0100 Subject: [PATCH] chore: adding log to check error --- backend/events.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/events.go b/backend/events.go index 83afb62..520df97 100644 --- a/backend/events.go +++ b/backend/events.go @@ -99,7 +99,9 @@ func ListenProcessingImageStatus(db *sql.DB, notifier *Notifier[string]) { logger.Info("Update", "id", stringUuid, "status", status) - notifier.SendAndCreate(stringUuid, status) + if err := notifier.SendAndCreate(stringUuid, status); err != nil { + logger.Error(err) + } } } }