From 170b6af1ba3abcbfac56ff02447e84adbd925b07 Mon Sep 17 00:00:00 2001 From: slinkydeveloper Date: Tue, 13 Jan 2026 15:00:45 +0100 Subject: [PATCH] Disable stacktrace collection in MethodInfo --- .../src/main/java/dev/restate/common/reflections/MethodInfo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/dev/restate/common/reflections/MethodInfo.java b/common/src/main/java/dev/restate/common/reflections/MethodInfo.java index 26cb8c98..1fb86f02 100644 --- a/common/src/main/java/dev/restate/common/reflections/MethodInfo.java +++ b/common/src/main/java/dev/restate/common/reflections/MethodInfo.java @@ -21,6 +21,7 @@ public class MethodInfo extends RuntimeException { private final TypeTag outputType; private MethodInfo(String handlerName, TypeTag inputType, TypeTag outputType) { + super("MethodInfo message should not be used", null, false, false); this.inputType = inputType; this.outputType = outputType; this.handlerName = handlerName;