From b237c0c2d77bfc237f7cfb397bc562d720d92f7e Mon Sep 17 00:00:00 2001 From: regiostech Date: Sat, 30 Apr 2016 22:01:35 -0400 Subject: [PATCH] 11 --- lib/src/http/server.dart | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/http/server.dart b/lib/src/http/server.dart index d954db41..332a01fc 100644 --- a/lib/src/http/server.dart +++ b/lib/src/http/server.dart @@ -64,9 +64,9 @@ class Angel extends Routable { accept.contains("application/javascript")) { res.json(e.toMap()); } else { - await _applyHandler(_errorHandler, req, res); - _finalizeResponse(request, res); + await _errorHandler(e, req, res); } + _finalizeResponse(request, res); } catch (_) {} } _onError(e, stackTrace); diff --git a/pubspec.yaml b/pubspec.yaml index b8aeef54..99313516 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 0.0.0-dev.9 +version: 0.0.0-dev.11 description: Core libraries for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_framework