Adds check message for internet as it may take a minute.

This commit is contained in:
Andrew 2021-09-13 17:08:02 -04:00
parent 333cd33be3
commit c93ce1613d

View File

@ -131,6 +131,9 @@ if __name__ == '__main__':
# this should always be last # this should always be last
tasks_manager.start_main_kill_switch_watcher() tasks_manager.start_main_kill_switch_watcher()
logger.info("Checking Internet/Port Service. This may take a minute.")
console.info("Checking Internet/Port Service. This may take a minute.")
if not helper.check_internet(): if not helper.check_internet():
console.error("We have detected the machine running Crafty has no connection to the internet. Client connections to the server may be limited.") console.error("We have detected the machine running Crafty has no connection to the internet. Client connections to the server may be limited.")
elif not helper.check_port(helper.get_setting('https_port')): elif not helper.check_port(helper.get_setting('https_port')):