File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
agent_api/src/main/java/dev/aikido/agent_api/background/ipc_commands Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ public boolean matchesName(String command) {
31
31
public abstract Optional <O > execute (I data , CloudConnectionManager connectionManager );
32
32
33
33
public Optional <O > send (ThreadIPCClient threadClient , I input ) {
34
- logger .trace ("Sending: %s" , getName ());
35
34
try {
36
35
// Convert input data from thread to a byte[] JSON :
37
36
Gson gson = new Gson ();
@@ -43,13 +42,11 @@ public Optional<O> send(ThreadIPCClient threadClient, I input) {
43
42
if (!response .isEmpty ()) {
44
43
// Convert background process' response from byte[] JSON to the output object :
45
44
O data = gson .fromJson (new String (response .get (), StandardCharsets .UTF_8 ), getOutputClass ());
46
- logger .trace ("Response is %" , data );
47
45
return Optional .of (data );
48
46
}
49
47
} catch (Exception e ) {
50
48
logger .trace (e );
51
49
}
52
- logger .trace ("Response is empty." );
53
50
return Optional .empty ();
54
51
};
55
52
}
You can’t perform that action at this time.
0 commit comments