Update tests for gitlab
This commit is contained in:
parent
b3479983aa
commit
13400ea4d3
5 changed files with 33 additions and 24 deletions
2
app.js
2
app.js
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue