Skip to content

Commit 63b6d31

Browse files
Copilotedburns
andcommitted
Align RejectedExecutionException log message formatting in CopilotSession
Agent-Logs-Url: https://github.com/github/copilot-sdk-java/sessions/63b9b09f-f1f4-44d3-8e34-ad01e355cc6a Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
1 parent e975d6c commit 63b6d31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/github/copilot/sdk/CopilotSession.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,8 +795,7 @@ private void executePermissionAndRespondAsync(String requestId, PermissionReques
795795
CompletableFuture.runAsync(task);
796796
}
797797
} catch (RejectedExecutionException e) {
798-
LOG.log(Level.WARNING, "Executor rejected permission task for requestId=" + requestId + "; running inline",
799-
e);
798+
LOG.log(Level.WARNING, "Executor rejected perm task for requestId=" + requestId + "; running inline", e);
800799
task.run();
801800
}
802801
}

0 commit comments

Comments
 (0)