Skip to content

Commit 39df3db

Browse files
Copilotedburns
andauthored
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 93be781 commit 39df3db

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
@@ -794,8 +794,7 @@ private void executePermissionAndRespondAsync(String requestId, PermissionReques
794794
CompletableFuture.runAsync(task);
795795
}
796796
} catch (RejectedExecutionException e) {
797-
LOG.log(Level.WARNING, "Executor rejected permission task for requestId=" + requestId + "; running inline",
798-
e);
797+
LOG.log(Level.WARNING, "Executor rejected perm task for requestId=" + requestId + "; running inline", e);
799798
task.run();
800799
}
801800
}

0 commit comments

Comments
 (0)