Skip to content

Commit 43a3ece

Browse files
committed
removed console output
1 parent 2cf41d1 commit 43a3ece

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/main/java/com/esri/samples/na/find_route/FindRouteSample.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ public void start(Stage stage) throws Exception {
118118
findButton.setDisable(true);
119119

120120
} catch (Exception ex) {
121-
System.out.println("Failed solving the route");
122121
ex.printStackTrace();
123122
}
124123
});
@@ -194,14 +193,12 @@ public void start(Stage stage) throws Exception {
194193
routeGraphicsOverlay.getGraphics().add(new Graphic(stop2Loc, stop2Text));
195194

196195
} catch (Exception ex) {
197-
// on any error, print the stack trace
198-
System.out.println("RouteTask: Failed generating default route parameters " + ex.getMessage());
196+
ex.printStackTrace();
199197
}
200198
});
201199

202200
} catch (Exception e) {
203-
// on any error, print the stack trace
204-
System.out.println("RouteTask: Failed creating route " + e.getMessage());
201+
e.printStackTrace();
205202
}
206203

207204
// add the map view and control panel to stack pane

0 commit comments

Comments
 (0)