Skip to content

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

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

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

Triggered via pull request December 17, 2024 01:39
Status Failure
Total duration 1m 1s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint / lint: facades/gin.go#L7
could not import github.com/goravel/gin (-: # github.com/goravel/gin
lint / lint: middleware_timeout.go#L25
cannot use ctx (variable of type "github.com/goravel/framework/contracts/http".Context) as *"github.com/gin-gonic/gin".Context value in argument to HandleRecover
lint / lint: middleware_timeout.go#L25
cannot use globalRecoverCallback (variable of type func(ctx context.Context, err any)) as func(ctx *"github.com/gin-gonic/gin".Context, err interface{}) value in argument to HandleRecover
lint / lint: route.go#L108
cannot use ctx (variable of type "github.com/goravel/framework/contracts/http".Context) as *"github.com/gin-gonic/gin".Context value in argument to HandleRecover
lint / lint: route.go#L108
cannot use globalRecoverCallback (variable of type func(ctx context.Context, err any)) as func(ctx *"github.com/gin-gonic/gin".Context, err interface{}) value in argument to HandleRecover
lint / lint: context_request.go#L18
"github.com/goravel/framework/support/color" imported and not used
lint / lint: service_provider.go#L4
"os" imported and not used) (typecheck)
lint / lint: middleware_timeout.go#L25
cannot use ctx (variable of type "github.com/goravel/framework/contracts/http".Context) as *"github.com/gin-gonic/gin".Context value in argument to HandleRecover
lint / lint: middleware_timeout.go#L25
cannot use globalRecoverCallback (variable of type func(ctx context.Context, err any)) as func(ctx *"github.com/gin-gonic/gin".Context, err interface{}) value in argument to HandleRecover
lint / lint: route.go#L108
cannot use ctx (variable of type "github.com/goravel/framework/contracts/http".Context) as *"github.com/gin-gonic/gin".Context value in argument to HandleRecover
lint / lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636