修复部分问题

This commit is contained in:
dragon
2025-11-20 17:33:18 +08:00
parent dedcd58f8e
commit 35df220bea
6 changed files with 133 additions and 105 deletions

View File

@@ -51,7 +51,9 @@ func NextCallWrapper(call FilterCall, parentCall NextCall, stack Filter) NextCal
return func(ctx FilterContext, writer http.ResponseWriter, request *http.Request) error {
zap.L().Debug(fmt.Sprintf("call filter(%s) before", stack.Type), zap.Any("filter", stack))
err := call(ctx, writer, request, parentCall)
zap.L().Debug(fmt.Sprintf("call filter(%s) after", stack.Type), zap.Any("filter", stack), zap.Error(err))
zap.L().Debug(fmt.Sprintf("call filter(%s) after", stack.Type),
zap.Any("filter", stack),
zap.Error(err))
return err
}
}