Skip to content

Commit 170b6af

Browse files
Disable stacktrace collection in MethodInfo
1 parent 3d1da80 commit 170b6af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)