🔇 Match up log level
This commit is contained in:
1 parent
6491db730d
commit
79196eeaf7
1 file changed
+1
-1
@@ -280,7 +280,7 @@ class PrinterStateConnection(octoprint.vendor.sockjs.tornado.SockJSConnection, o
|
||||
self.send({type: payload})
|
||||
except Exception as e:
|
||||
if self._logger.isEnabledFor(logging.DEBUG):
|
||||
self._logger.exception("Could not send message to client {}".format(self._remoteAddress))
|
||||
self._logger.warn("Could not send message to client {}".format(self._remoteAddress), exc_info=True)
|
||||
else:
|
||||
self._logger.warn("Could not send message to client {}: {}".format(self._remoteAddress, e))
|
||||
|
||||
|
||||
Reference in new issue
Block a user