Explorar el Código

adding error message

master
patrick hace 5 años
padre
commit
c7ee7ed3eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      rpn.go

+ 1
- 1
rpn.go Ver fichero

@@ -16,7 +16,7 @@ func rpnNotify(w http.ResponseWriter, r *http.Request) {
}
ri, err := GetRpnInFromHTTPRequest(r) //ParseForm called
if err != nil {
errPage(w, http.StatusBadRequest, "invalid parameters")
errPage(w, http.StatusBadRequest, "invalid parameters "+err.Error())
return
}


Cargando…
Cancelar
Guardar