fix wrong log message

This commit is contained in:
Adrian Zürcher
2026-02-10 21:58:25 +01:00
parent 349b17551d
commit 81e05851bc

View File

@@ -15,7 +15,7 @@ type counter struct {
func (a *APIHandler) GetReport(c *gin.Context) { func (a *APIHandler) GetReport(c *gin.Context) {
if !a.DBHandlerIsInitialized() { if !a.DBHandlerIsInitialized() {
a.logger.Error("DeleteEvent", "database handler is not initialized") a.logger.Error("GetReport", "database handler is not initialized")
c.JSON(http.StatusInternalServerError, nil) c.JSON(http.StatusInternalServerError, nil)
return return
} }