Skip to content

Commit

Permalink
just IO
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 19, 2024
1 parent fcdc527 commit 29eb3af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/rultor/agents/daemons/DismountDaemon.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import com.rultor.agents.AbstractAgent;
import com.rultor.agents.shells.TalkShells;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.concurrent.TimeUnit;
import lombok.EqualsAndHashCode;
import lombok.ToString;
Expand Down Expand Up @@ -93,7 +92,7 @@ public Iterable<Directive> process(final XML xml) throws IOException {
this, "The host %s is alive",
DismountDaemon.host(xml)
);
} catch (final UnknownHostException ex) {
} catch (final IOException ex) {
Logger.warn(
this, "The host %s is unreachable: %s",
DismountDaemon.host(xml),
Expand Down

0 comments on commit 29eb3af

Please sign in to comment.