Skip to content

Commit 39cf851

Browse files
committed
Attempt to ignore premature close errors for hack attempts
1 parent 4613397 commit 39cf851

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/exception/exception.filter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export class ExceptionFilter implements IExceptionFilter {
3232
const hack = isFromHackAttempt(exception, args);
3333
if (hack) {
3434
hack.raw.destroy();
35+
this.http.end(args.switchToHttp().getResponse());
3536
return;
3637
}
3738

0 commit comments

Comments
 (0)