Compare commits

..

2 Commits

Author SHA1 Message Date
56028ac479 Merge pull request 'fix' (#9) from master into dev
Reviewed-on: https://gitea.chocomarsh.com/self/monitoring/pulls/9
2025-06-13 02:06:18 +03:00
Egor Matveev
de7567b0e6 fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 54s
Deploy Dev / Push (pull_request) Successful in 35s
Deploy Dev / Deploy dev (pull_request) Successful in 12s
2025-06-13 02:06:03 +03:00

View File

@ -2,6 +2,7 @@ package routers
import (
"encoding/json"
"log"
endpoints "monitoring/app/storage/clickhouse/tables"
"net/http"
)
@ -16,6 +17,7 @@ func AddEndpointMetric (r *http.Request) (interface{}, int) {
err = endpoints.AddEndpointMetric(body)
if err != nil {
log.Printf(err.Error())
return nil, http.StatusInternalServerError
}