Delay launch by 2 seconds to make sure that router.ping is written before trying to launch a browser when a router is already running
This commit is contained in:
@ -45,6 +45,7 @@ public class WinLauncher {
|
||||
fh.setFormatter(formatter);
|
||||
// the following statement is used to log any messages
|
||||
logger.info("My first log");
|
||||
sleep(2000);
|
||||
} catch (SecurityException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
|
Reference in New Issue
Block a user