Skip to content

feat: [#521] User can custom recover when a request panic #357

feat: [#521] User can custom recover when a request panic

feat: [#521] User can custom recover when a request panic #357

Triggered via pull request November 21, 2024 23:51
Status Failure
Total duration 44s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors
lint / nilaway: middleware_timeout.go#L8
"github.com/gin-gonic/gin" imported and not used
lint / nilaway: facades/gin.go#L4
"fmt" imported and not used
lint / nilaway: middleware_timeout.go#L8
"github.com/gin-gonic/gin" imported and not used
lint / nilaway: config/cors.go#L9
error: Potential nil panic detected. Observed nil flow from source to dereference point:
lint / nilaway
literal `nil` returned from `MakeConfig()` in position 0
lint / nilaway
returned as result 0 from interface method `Application.MakeConfig()` (implemented by `Container.MakeConfig()`)
lint / nilaway
result 0 of `MakeConfig()` returned from `Config()` in position 0
lint / nilaway
result 0 of `Config()` called `Add()` via the assignment(s):
lint / nilaway
Process completed with exit code 1.
lint / lint: facades/gin.go#L8
could not import github.com/goravel/gin (-: # github.com/goravel/gin
lint / lint: middleware_timeout.go#L8
"github.com/gin-gonic/gin" imported and not used) (typecheck)
lint / lint: facades/gin.go#L4
"fmt" imported and not used (typecheck)
lint / lint: middleware_timeout.go#L8
"github.com/gin-gonic/gin" imported and not used (typecheck)
lint / lint
issues found