Commit a1a6f687 authored by David Trattnig's avatar David Trattnig
Browse files

Disable mail event covered by on_sick(..). #38

parent 0f7898ad
......@@ -138,7 +138,7 @@ class PlayerConnector():
raise e
else:
self.event_dispatcher.on_critical("Criticial Liquidsoap connection issue", \
"Could not connect to Liquidsoap (Multiple attempts)", e)
"Could not connect to Liquidsoap after multiple attempts", e)
raise e
......@@ -167,7 +167,8 @@ class PlayerConnector():
subject = "CRITICAL Exception when connecting to Liquidsoap"
msg = "socket file " + socket.socket_path + " not found. Is liquidsoap running?"
self.logger.critical(SU.red(msg))
self.event_dispatcher.on_critical(subject, msg, None)
# Not using this for now, as it should be triggered by "on_sick(..)" as well
#self.event_dispatcher.on_critical(subject, msg, None)
# ------------------------------------------------------------------------------------------ #
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment