summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 9c9d468b4..a88589926 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -288,7 +288,8 @@ class Core(object):
self.server = ServerThread(self)
self.server.start()
except Exception, e:
- self.logger.error("failed starting socket server, CLi and Gui will not be available: %s" % str(e))
+ self.logger.error("Failed starting socket server, CLI and GUI will not be available: %s" % str(e))
+ exit()
def init_webserver(self):
@@ -299,7 +300,8 @@ class Core(object):
self.webserver = WebServer(self)
self.webserver.start()
except Exception, e:
- self.looger.error("failed starting webserver, no webinterface available: %s" % str(e))
+ self.logger.error("Failed starting webserver, no webinterface available: %s" % str(e))
+ exit()
def kill(self):
self.do_kill = True