Skip to content

Commit f287e4f

Browse files
committed
Remove old error reporting stuff
The errors just show up in the console
1 parent a4c6ffb commit f287e4f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

ui/src/main/java/edu/wpi/grip/ui/DeployController.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import javafx.fxml.FXML;
1616
import javafx.scene.control.*;
1717
import net.schmizz.sshj.SSHClient;
18-
import net.schmizz.sshj.common.IOUtils;
1918
import net.schmizz.sshj.common.StreamCopier;
2019
import net.schmizz.sshj.connection.channel.direct.Session;
2120
import net.schmizz.sshj.userauth.UserAuthException;
@@ -167,9 +166,6 @@ public StreamCopier.Listener file(String name, long size) {
167166
while (isNotCanceled()) {
168167
String line = inputReader.readLine();
169168
if (line == null) {
170-
// Headless GRIP normally doesn't close stdout. If that happens, check stderr for a message, since
171-
// there must have been a problem.
172-
setStatusAsync(IOUtils.readFully(cmd.getErrorStream()).toString(), true);
173169
return;
174170
}
175171

0 commit comments

Comments
 (0)