Update tests for gitlab

This commit is contained in:
Jonathan Cremin 2016-05-24 18:03:10 +01:00
parent b3479983aa
commit 13400ea4d3
5 changed files with 33 additions and 24 deletions

2
app.js
View file

@ -43,7 +43,7 @@ app.use(function* errorMiddleware(next) {
try {
yield next;
} catch (err) {
if (!err.statusCode) {
if (!err.statusCode && this.raven) {
this.raven.captureError(err);
}
throw err;