mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-09 17:07:43 +01:00
try to start server and print error, if not possible (test)
This commit is contained in:
parent
99f37fcbfa
commit
751f1721cd
1 changed files with 4 additions and 1 deletions
|
@ -304,4 +304,7 @@ class CraftBeerPi:
|
||||||
return self.app
|
return self.app
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
try:
|
||||||
web.run_app(self.init_serivces(), port=self.static_config.get("port", 2202))
|
web.run_app(self.init_serivces(), port=self.static_config.get("port", 2202))
|
||||||
|
except Exception as e:
|
||||||
|
print("Error Starting the server: {}".format(e))
|
||||||
|
|
Loading…
Reference in a new issue