Explorar o código

Fixed logging

Kirk Trombley %!s(int64=6) %!d(string=hai) anos
pai
achega
edffacb021
Modificáronse 1 ficheiros con 1 adicións e 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,