diff --git a/CameraNetwork/controller.py b/CameraNetwork/controller.py index dd9e443..a1b1603 100644 --- a/CameraNetwork/controller.py +++ b/CameraNetwork/controller.py @@ -532,7 +532,7 @@ def safe_capture(self, settings, frames_num=1, self.start_camera() except Exception as e: logging.exception( - 'The camera failed restarting. Reboot.' + 'The camera failed restarting. Rebooting.' ) logging.shutdown() time.sleep(120) diff --git a/scripts/start_server.py b/scripts/start_server.py index 7646630..fd67e12 100755 --- a/scripts/start_server.py +++ b/scripts/start_server.py @@ -146,7 +146,7 @@ def main(): # I delay the reboot so that the tunnel will stay open and # enable debugging. # - logging.exception('Unkown error:\n{}'.format(repr(e))) + logging.exception('Rebooting. Unkown error:\n{}'.format(repr(e))) logging.shutdown() time.sleep(120) os.system('sudo reboot') @@ -186,7 +186,7 @@ def main(): # I delay the reboot so that the tunnel will stay open and # enable debugging. # - logging.exception('Unkown error:\n{}'.format(repr(e))) + logging.exception('Rebooting. Unkown error:\n{}'.format(repr(e))) logging.shutdown() time.sleep(120) os.system('sudo reboot')