Explorar el Código

Fixed logging

Kirk Trombley hace 6 años
padre
commit
edffacb021
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/plugins/teamspeak.py

+ 1 - 1
src/plugins/teamspeak.py

@@ -25,7 +25,7 @@ class teamspeak(RollbotPlugin):
                 tn.write(b"quit\n")
                 response = tn.read_until(b"virtualserver_status").decode("ascii")
         except Exception as e:
-            self.logger.error("Teamspeak failure.", e)
+            self.logger.error("Teamspeak failure - " + str(e))
             return RollbotResponse(
                 message,
                 failure=RollbotFailure.SERVICE_DOWN,