mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +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
|
@ -59,7 +59,7 @@ func (h *handler) updateSettings(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
err = h.store.UpdateUser(settingsForm.Merge(user))
|
||||
if err != nil {
|
||||
logger.Error("[Controller:UpdateSettings] %v", err)
|
||||
logger.Error("[UI:UpdateSettings] %v", err)
|
||||
view.Set("errorMessage", "error.unable_to_update_user")
|
||||
html.OK(w, r, view.Render("settings"))
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue