Skip to content

Commit 86378ae

Browse files
Disable stacktrace collection in MethodInfo (#576)
1 parent 3d1da80 commit 86378ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/main/java/dev/restate/common/reflections/MethodInfo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class MethodInfo extends RuntimeException {
2121
private final TypeTag<?> outputType;
2222

2323
private MethodInfo(String handlerName, TypeTag<?> inputType, TypeTag<?> outputType) {
24+
super("MethodInfo message should not be used", null, false, false);
2425
this.inputType = inputType;
2526
this.outputType = outputType;
2627
this.handlerName = handlerName;

0 commit comments

Comments
 (0)