Skip to content

Commit

Permalink
Logging a condition which is probably impossible.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Aug 17, 2018
1 parent 3474475 commit 17a0d2a
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -62,6 +62,8 @@
@Restricted(NoExternalUse.class)
public class NewNodeConsoleNote extends ConsoleNote<WorkflowRun> {

private static final Logger LOGGER = Logger.getLogger(NewNodeConsoleNote.class.getName());

/**
* Prefix used in metadata lines.
*/
Expand All @@ -73,7 +75,7 @@ public static void print(FlowNode node, TaskListener listener) {
try {
listener.annotate(new NewNodeConsoleNote(node));
} catch (IOException x) {
// never mind
LOGGER.log(Level.WARNING, null, x);
}
logger.println(CONSOLE_NOTE_PREFIX + node.getDisplayFunctionName());
}
Expand Down

0 comments on commit 17a0d2a

Please sign in to comment.