Skip to content

Commit

Permalink
plugins/videostream/VideoStream: Cleanup debug out.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosousadias committed Oct 24, 2023
1 parent 11ce7c0 commit 2af1175
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,7 @@ private void openIPCamManagementPanel() {
uri = new URI(camUrl);
}
catch (Exception e) {
NeptusLog.pub().warn("Camera URL is not valid: " + camUrl);
e.printStackTrace();
NeptusLog.pub().warn("Camera URL is not valid: " + camUrl + " :: " + e.getMessage());
}

ipCamPing = new JDialog(SwingUtilities.getWindowAncestor(VideoStream.this), I18n.text("Select IPCam"));
Expand All @@ -654,7 +653,7 @@ private void openIPCamManagementPanel() {
String host = uri.getHost();
String name = "Stream " + uri.getScheme() + "@" + uri.getPort();
Camera cam = new Camera(name, host, camUrl);
NeptusLog.pub().warn("Cam > " + cam + " | URI " + camUrl + " | " + cam.getUrl());
NeptusLog.pub().warn("Cam > " + cam + " | host " + host+ " | URI " + camUrl + " | " + cam.getUrl());
Camera matchCam = cameraList.stream().filter(c -> c.getUrl().equalsIgnoreCase(cam.getUrl()))
.findAny().orElse(null);

Expand Down

0 comments on commit 2af1175

Please sign in to comment.