chore: adding log to check error
This commit is contained in:
@ -99,7 +99,9 @@ func ListenProcessingImageStatus(db *sql.DB, notifier *Notifier[string]) {
|
|||||||
|
|
||||||
logger.Info("Update", "id", stringUuid, "status", status)
|
logger.Info("Update", "id", stringUuid, "status", status)
|
||||||
|
|
||||||
notifier.SendAndCreate(stringUuid, status)
|
if err := notifier.SendAndCreate(stringUuid, status); err != nil {
|
||||||
|
logger.Error(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user