Skip to content

Commit

Permalink
#39 no error out
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 11, 2024
1 parent fe99c87 commit 0e36815
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 25 deletions.
43 changes: 19 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,33 +185,28 @@ SOFTWARE.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>hone-maven-plugin</artifactId>
<!-- <version>0.0.10</version> -->
<version>${project.version}</version>
<executions>
<execution>
<configuration>
<image>self-hone:local</image>
<skip>true</skip>
</configuration>
<goals>
<goal>build</goal>
<goal>optimize</goal>
<goal>rmi</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>self</id>
<build>
<plugins>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>hone-maven-plugin</artifactId>
<version>0.0.10</version>
<executions>
<execution>
<configuration>
<image>self-hone:local</image>
</configuration>
<goals>
<goal>build</goal>
<goal>optimize</goal>
<goal>rmi</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>qulice</id>
<build>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/eolang/hone/Docker.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import java.util.logging.Level;

/**
* Docker runner.
Expand Down Expand Up @@ -79,7 +80,7 @@ public void exec(final Collection<String> args) throws IOException {
command.add("docker");
command.addAll(args);
final ProcessBuilder bldr = new ProcessBuilder(command);
try (VerboseProcess proc = new VerboseProcess(bldr)) {
try (VerboseProcess proc = new VerboseProcess(bldr, Level.FINE, Level.FINE)) {
final VerboseProcess.Result ret = proc.waitFor();
if (ret.code() != 0) {
throw new IOException(
Expand Down

0 comments on commit 0e36815

Please sign in to comment.