File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1020,11 +1020,6 @@ export class GraphQLModule<
10201020 try {
10211021 moduleContext = await this . context ( info . session , true ) ;
10221022 } catch ( e ) {
1023- moduleContext . injector . callHookWithArgsAsync ( {
1024- hook : 'onError' ,
1025- args : [ e ] ,
1026- instantiate : true
1027- } ) ;
10281023 const logger = this . selfLogger ;
10291024 if ( 'clientError' in logger ) {
10301025 logger . clientError ( e ) ;
@@ -1036,11 +1031,6 @@ export class GraphQLModule<
10361031 try {
10371032 result = await resolver . call ( typeResolvers , root , moduleContext , info ) ;
10381033 } catch ( e ) {
1039- moduleContext . injector . callHookWithArgsAsync ( {
1040- hook : 'onError' ,
1041- args : [ e ] ,
1042- instantiate : true
1043- } ) ;
10441034 throw e ;
10451035 }
10461036 return result ;
@@ -1057,11 +1047,6 @@ export class GraphQLModule<
10571047 try {
10581048 moduleContext = await this . context ( info . session , true ) ;
10591049 } catch ( e ) {
1060- moduleContext . injector . callHookWithArgsAsync ( {
1061- hook : 'onError' ,
1062- args : [ e ] ,
1063- instantiate : true
1064- } ) ;
10651050 const logger = this . selfLogger ;
10661051 if ( 'clientError' in logger ) {
10671052 logger . clientError ( e ) ;
You can’t perform that action at this time.
0 commit comments