fix typo, added log info
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
af826ff457
commit
10d070dd10
@ -84,7 +84,7 @@ func (u *User) RequestNewCert(cfg *config.Config, domainnames *[]string) (certs
|
||||
}
|
||||
|
||||
if !has {
|
||||
err = fmt.Errorf("supplied domain not in allow domains")
|
||||
err = fmt.Errorf("supplied domain not in allowed domains")
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,7 @@ func RunServer(cfg *config.Config) (err error) {
|
||||
var result = make(map[string]EntryResponse)
|
||||
err = c.Bind(&request)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return c.JSON(http.StatusInternalServerError, "error parsing request")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user