fix: log issues

This commit is contained in:
2024-01-31 10:47:16 +08:00
parent 2004e9c9a3
commit c560541a21
2 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ func PostUEEventFromAMF(c *gin.Context) {
body, err := io.ReadAll(io.LimitReader(c.Request.Body, global.RequestBodyMaxLen))
if err != nil {
log.Error("Faile to io.ReadAll: ", err)
log.Error("Failed to io.ReadAll: ", err)
services.ResponseNotFound404UriNotExist(c.Writer, c.Request)
return
}