Misc cleanup.

This commit is contained in:
mikestefanello 2024-06-15 09:09:36 -04:00
parent 9acf73a4d9
commit 6a7070a729
6 changed files with 21 additions and 18 deletions

View file

@ -137,7 +137,9 @@ func (c *Controller) cachePage(ctx echo.Context, page Page, html *bytes.Buffer)
case err == nil:
log.Ctx(ctx).Debug("cached page")
case !context.IsCanceledError(err):
log.Ctx(ctx).Error("failed to cache page", "error", err)
log.Ctx(ctx).Error("failed to cache page",
"error", err,
)
}
}