diff options
Diffstat (limited to 'imgs.go')
| -rw-r--r-- | imgs.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,6 +2,7 @@ package main import ( "fmt" + "log" "os" "mime" "net/http" @@ -89,8 +90,7 @@ func imgs(w http.ResponseWriter, r *http.Request) { } return } else if err != nil { - sendError(w, r, err.Error(), http.StatusInternalServerError) - return + log.Println(err) } sendFlash(w, r, "redirect", "/imgs") http.Redirect(w, r, "/login", http.StatusSeeOther) |
