Skip to content

Commit 9560c3f

Browse files
Gemini suggestion
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 7120d2d commit 9560c3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/server-common/src/test/java/io/a2a/server/apps/common/AgentExecutorProducer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ private void handleAgentToAgentTest(RequestContext context, AgentEmitter agentEm
160160
} else {
161161
handleLocally(userInput, agentEmitter);
162162
}
163-
} catch (Exception e) {
164-
agentEmitter.fail(new InternalError("Agent-to-agent test failed: " + e.getMessage()));
165-
}
163+
} catch (Exception e) {
164+
agentEmitter.fail(new InternalError("Agent-to-agent test failed: " + e.getMessage(), e));
165+
}
166166
}
167167

168168
/**

0 commit comments

Comments
 (0)