File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " ack-nestjs-boilerplate-kafka" ,
3- "version" : " 3.3.2 " ,
3+ "version" : " 3.3.3 " ,
44 "description" : " Ack NestJs Boilerplate Kafka" ,
55 "repository" : {
66 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -19,15 +19,17 @@ export class KafkaErrorFilter implements RpcExceptionFilter<RpcException> {
1919 const { key } = ctx . getContext < KafkaContext > ( ) . getMessage ( ) ;
2020
2121 // Debugger
22- this . debuggerService . error (
23- key ? key . toString ( ) : KafkaErrorFilter . name ,
24- {
25- description : exception . message ,
26- class : __class ,
27- function : __function ,
28- } ,
29- exception
30- ) ;
22+ try {
23+ this . debuggerService . error (
24+ key ? key . toString ( ) : KafkaErrorFilter . name ,
25+ {
26+ description : exception . message ,
27+ class : __class ,
28+ function : __function ,
29+ } ,
30+ exception
31+ ) ;
32+ } catch ( err : unknown ) { }
3133
3234 return of ( JSON . stringify ( { error : exception . getError ( ) } ) ) ;
3335 }
You can’t perform that action at this time.
0 commit comments