mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 14:38:15 +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
|
||||
|
||||
def start(self):
|
||||
try:
|
||||
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