Skip to content

Commit f33f42a

Browse files
committed
# GG-9237 - GG-9237. Exception handling
1 parent b33ad42 commit f33f42a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/core/src/main/java/org/gridgain/grid/kernal/visor/gui/tasks/VisorResolveHostNameTask.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ private VisorResolveHostNameJob(List<String> arg) {
6666
res.add(new GridBiTuple<>(ipIt.next(), hostIt.next()));
6767
}
6868
}
69-
catch (IOException e) {
70-
e.printStackTrace();
69+
catch (Throwable e) {
70+
throw new GridException("Failed to resolve host name", e);
7171
}
7272

7373
return res;

0 commit comments

Comments
 (0)