From 5ccd80a6cdb29a2047e7cb0db4edf9d6572caf54 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Mon, 15 Feb 2021 11:36:22 +0200 Subject: [PATCH] minor: see previous commits --- macro/handler/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macro/handler/handler.go b/macro/handler/handler.go index 2cee25db..24fc9cfd 100644 --- a/macro/handler/handler.go +++ b/macro/handler/handler.go @@ -44,7 +44,7 @@ func CanMakeHandler(tmpl macro.Template) (needsMacroHandler bool) { if p.HandleError != nil { // Check for its type. if _, ok := p.HandleError.(ParamErrorHandler); !ok { - panic(fmt.Sprintf("HandleError must be a type of func(iris.Context, error) but got: %T", p.HandleError)) + panic(fmt.Sprintf("HandleError must be a type of func(iris.Context, int, error) but got: %T", p.HandleError)) } } break