Skip to content

Commit

Permalink
Do not even try to use LogTaskListener
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jul 28, 2023
1 parent b30aaca commit 1612e43
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,11 @@ private void getWorkspaceProblem(Exception x) {
LOGGER.log(Level.FINEST, "JENKINS-34021: DurableTaskStep.Execution.listener present in {0}", context);
} else {
LOGGER.log(Level.WARNING, "JENKINS-34021: TaskListener not available upon request in {0}", context);
l = new LogTaskListener(LOGGER, Level.FINE);
l = TaskListener.NULL;
}
} catch (Exception x) {
LOGGER.log(Level.FINE, "JENKINS-34021: could not get TaskListener in " + context, x);
l = new LogTaskListener(LOGGER, Level.FINE);
l = TaskListener.NULL;
recurrencePeriod = 0;
}
return l;
Expand Down

0 comments on commit 1612e43

Please sign in to comment.