mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
Improve logging messages in ui package
This commit is contained in:
parent
5a69a61d48
commit
ca45765c46
13 changed files with 22 additions and 24 deletions
|
@ -17,7 +17,7 @@ func (h *handler) removeSession(w http.ResponseWriter, r *http.Request) {
|
|||
sessionID := request.RouteInt64Param(r, "sessionID")
|
||||
err := h.store.RemoveUserSessionByID(request.UserID(r), sessionID)
|
||||
if err != nil {
|
||||
logger.Error("[Controller:RemoveSession] %v", err)
|
||||
logger.Error("[UI:RemoveSession] %v", err)
|
||||
}
|
||||
|
||||
html.Redirect(w, r, route.Path(h.router, "sessions"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue