diff options
Diffstat (limited to 'server.go')
| -rw-r--r-- | server.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,7 @@ func ExecTemplate(template string, w http.ResponseWriter, r *http.Request, flash err := index.ExecuteTemplate(w, template, flash) if err != nil { - log.Println(err) + log.Println("Info: ", err) return err } return nil @@ -62,7 +62,7 @@ func ExecTemplate(template string, w http.ResponseWriter, r *http.Request, flash func ChangePassword(email, oldPassword, newPassword string) error { if !ValidateEmail(email) { - log.Println("No E-Mail: ", email) + log.Println("Info: No E-Mail: ", email) return errors.New("This doesn't look like a mail adress.") } |
