This commit is contained in:
Tobe O 2017-01-28 11:22:45 -05:00 committed by GitHub
parent 261ebea529
commit 7a83c2c943

View file

@ -32,8 +32,6 @@ configureAfter(Angel app) async {
await app.sendRequest(e.request, req, res); await app.sendRequest(e.request, req, res);
}; };
app.get('/trump', () => throw new Exception('MAGA'));
// Throw a 404 if no route matched the request // Throw a 404 if no route matched the request
app.after.add(errors.throwError()); app.after.add(errors.throwError());