We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9ac65 commit de46235Copy full SHA for de46235
src/main/java/org/jenkinsci/plugins/workflow/log/LogStorage.java
@@ -35,6 +35,8 @@
35
import java.io.FileOutputStream;
36
import java.io.IOException;
37
import java.io.OutputStream;
38
+import java.util.logging.Level;
39
+import java.util.logging.Logger;
40
import javax.annotation.Nonnull;
41
import org.jenkinsci.plugins.workflow.actions.LogAction;
42
import org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner;
@@ -141,6 +143,7 @@ public interface LogStorage {
141
143
}
142
144
return f;
145
} catch (Exception x) {
146
+ Logger.getLogger(LogStorage.class.getName()).log(Level.WARNING, null, x);
147
if (build instanceof Run) {
148
return new File(((Run) build).getRootDir(), "log");
149
} else {
0 commit comments