Skip to content

Commit d44415d

Browse files
committed
chore: removed redundant arg for errorHandler
1 parent c5749f2 commit d44415d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class API {
8484
});
8585

8686
// override koa's undocumented error handler
87-
app.context.onerror = errorHandler(false, this.logger);
87+
app.context.onerror = errorHandler(false);
8888

8989
// adds request received hrtime and date symbols to request object
9090
// (which is used by Cabin internally to add `request.timestamp` to logs

0 commit comments

Comments
 (0)