Skip to content

Commit 6136e0b

Browse files
committed
fix(grpc): remove grpc exception filter
1 parent 28c2a04 commit 6136e0b

File tree

3 files changed

+0
-40
lines changed

3 files changed

+0
-40
lines changed

integration/microservices/src/grpc/grpc.controller.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
GrpcStreamMethod,
88
Transport,
99
GrpcOutOfRangeException,
10-
GrpcExceptionFilter,
1110
} from '@nestjs/microservices';
1211
import { join } from 'path';
1312
import { Observable, of } from 'rxjs';
@@ -72,7 +71,6 @@ export class GrpcController {
7271
return svc.sum({ first, last });
7372
}
7473

75-
@UseFilters(new GrpcExceptionFilter())
7674
@GrpcMethod('Math')
7775
async divide({ first, last }: DivideParams): Promise<any> {
7876
const result = first / last;

packages/microservices/exceptions/grpc-exception-filter.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export * from './base-rpc-exception-filter';
22
export * from './rpc-exception';
33
export * from './grpc-exceptions';
4-
export * from './grpc-exception-filter';

0 commit comments

Comments
 (0)