fix(blogo): incorrect template being passed to TemplateerrorHandler

This commit is contained in:
Guz
2025-01-27 17:07:34 -03:00
parent fa04bceaae
commit ada8ad734e

View File

@@ -91,7 +91,7 @@ func New(opts ...Opts) Blogo {
))
f.Use(plugins.NewTemplateErrorHandler(
*defaultNotFoundTemplate,
*defaultInternalErrTemplate,
plugins.TemplateErrorHandlerOpts{
Assertions: opt.Assertions,
Logger: logger.WithGroup("internal-err"),