Skip to content

Commit 89bbd40

Browse files
jimklimovjglick
andauthored
Update plugin/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java
Do not log to server console log (not all server admins are those who run the projects with issues). Co-authored-by: Jesse Glick <[email protected]>
1 parent d781a3b commit 89bbd40

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugin/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,6 @@ private CpsScript parseScript() throws IOException {
687687
msg += "; please refactor to simplify code structure and/or move logic to a Jenkins Shared Library: ";
688688
msg += mtlEx.getMessage();
689689

690-
// Make a note in server log
691-
LOGGER.log(Level.SEVERE, msg);
692-
693690
if (ecCount > 1) {
694691
// Not squashing with explicit MethodTooLargeException
695692
// re-thrown below, in this codepath we have other errors.

0 commit comments

Comments
 (0)