TP-5555 | error publishing kafka error remove
This commit is contained in:
@@ -13,7 +13,6 @@ import (
|
||||
"cybertron/pkg/metrics"
|
||||
"cybertron/pkg/utils"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/gin-gonic/gin"
|
||||
"gorm.io/gorm"
|
||||
"net/http"
|
||||
@@ -145,7 +144,6 @@ func (exceptionService *ExceptionService) CatchErrors(c *gin.Context) {
|
||||
|
||||
if err != nil {
|
||||
exceptionService.logger.Error("Error publishing exception to Kafka: " + err.Error())
|
||||
fmt.Println("Failed to push error to kafka")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user