Add startup error alert message

This commit is contained in:
JonnyWong16 2021-08-27 14:17:16 -07:00
parent 0fbb28eca2
commit 09eba5d8b5
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 13 additions and 0 deletions

View file

@ -265,6 +265,7 @@ def initialize(options):
cherrypy.engine.block()
except IOError as e:
logger.error("Tautulli WebStart :: Failed to start Tautulli: %s", e)
plexpy.alert_message('Failed to start Tautulli: %s' % e)
sys.exit(1)
cherrypy.server.wait()