Skip to content

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

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

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

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

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
lint / lint: facades/gin.go#L4
"fmt" imported and not used (typecheck)
lint / lint
issues found
lint / nilaway: facades/gin.go#L4
"fmt" imported and not used
lint / nilaway: view.go#L24
error: Potential nil panic detected. Observed nil flow from source to dereference point:
lint / nilaway
literal `nil` returned from `MakeView()` in position 0
lint / nilaway
returned as result 0 from interface method `Application.MakeView()` (implemented by `Container.MakeView()`)
lint / nilaway
result 0 of `MakeView()` assigned into global variable `ViewFacade`
lint / nilaway
global variable `ViewFacade` called `GetShared()`
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