adding warn messages

revert-dabc3590
Nirothipan 8 years ago
parent dbe3820290
commit 3fec4edf90

@ -105,8 +105,10 @@ public class TryIt {
Process startShell = startShellProcessBuilder.start(); Process startShell = startShellProcessBuilder.start();
System.out.println("Connected to device shell"); System.out.println("Connected to device shell");
startShell.waitFor(); startShell.waitFor();
} catch (IOException | InterruptedException ignored) { } catch (IOException e) {
// script can continue without this process tryIt.handleException("Unable to start the shell", e);
} catch (InterruptedException ignored) {
//
} }
System.out.println("\nGood Bye!"); System.out.println("\nGood Bye!");
} }

Loading…
Cancel
Save