F**K 12
This commit is contained in:
parent
b237c0c2d7
commit
496ecd8757
2 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ class Angel extends Routable {
|
|||
|
||||
/// Default error handler, show HTML error page
|
||||
var _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("</head><body><h1>${e.message}</h1><ul>");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel_framework
|
||||
version: 0.0.0-dev.11
|
||||
version: 0.0.0-dev.12
|
||||
description: Core libraries for the Angel framework.
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_framework
|
||||
|
|
Loading…
Reference in a new issue