File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/main/java/graphql/annotations/directives Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 22 * Licensed under the Apache License, Version 2.0 (the "License");
33 * you may not use this file except in compliance with the License.
44 * You may obtain a copy of the License at
5- *
6- * http://www.apache.org/licenses/LICENSE-2.0
7- *
5+ * <p>
6+ * http://www.apache.org/licenses/LICENSE-2.0
7+ * <p>
88 * Unless required by applicable law or agreed to in writing, software
99 * distributed under the License is distributed on an "AS IS" BASIS,
1010 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -131,8 +131,7 @@ private TraversalControl visitGraphQLType(Class<? extends GraphQLDirectiveContai
131131 newNode = functionMap .get (typeOfContainer ).apply (directive , newNode ,
132132 wiring , parentElement );
133133 } catch (Exception e ) {
134- e .printStackTrace ();
135- return TraversalControl .CONTINUE ;
134+ throw new RuntimeException (e );
136135 }
137136 }
138137 }
You can’t perform that action at this time.
0 commit comments