http: Actually write the status on error pages LOL
This commit is contained in:
parent
95e60f477a
commit
303adcd02a
@ -288,6 +288,7 @@ func (this *Handler) serveError (
|
|||||||
this.serveError(res, req, http.StatusInternalServerError, err, true)
|
this.serveError(res, req, http.StatusInternalServerError, err, true)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
res.WriteHeader(status)
|
||||||
err = document.Execute(res, step.ExecutionData {
|
err = document.Execute(res, step.ExecutionData {
|
||||||
Data: Error {
|
Data: Error {
|
||||||
Status: status,
|
Status: status,
|
||||||
|
Loading…
Reference in New Issue
Block a user