email_moderate.go: include email in error message
This commit is contained in:
parent
8a7348ed6a
commit
ef68dadcd7
@ -41,8 +41,8 @@ func emailModerateHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
isModerator, err := isDomainModerator(domain, e.Email)
|
||||
if err != nil {
|
||||
logger.Errorf("error checking if %s is a moderator: %v", err)
|
||||
fmt.Fprintf(w, "error checking if %s is a moderator: %v", err)
|
||||
logger.Errorf("error checking if %s is a moderator: %v", e.Email, err)
|
||||
fmt.Fprintf(w, "error checking if %s is a moderator: %v", e.Email, err)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user