DOCTYPE -> !DOCTYPE

This commit is contained in:
regiostech 2016-07-03 18:23:55 -04:00
parent 85b529ef00
commit 1a7d831a36

View file

@ -19,7 +19,7 @@ class Angel extends Routable {
AngelErrorHandler _errorHandler = (AngelHttpException e, req, ResponseContext res) {
res.header(HttpHeaders.CONTENT_TYPE, ContentType.HTML.toString());
res.status(e.statusCode);
res.write("<DOCTYPE html><html><head><title>${e.message}</title>");
res.write("<!DOCTYPE html><html><head><title>${e.message}</title>");
res.write("</head><body><h1>${e.message}</h1><ul>");
for (String error in e.errors) {
res.write("<li>$error</li>");