From 29be2945ccda01dc0645c04d4ded2d789b116c39 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 11 Jan 2019 11:46:08 +0100 Subject: [PATCH] Log trace before attempting a Snapcast connection --- platypush/plugins/music/snapcast.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/music/snapcast.py b/platypush/plugins/music/snapcast.py index 973e84c8..94528e1c 100644 --- a/platypush/plugins/music/snapcast.py +++ b/platypush/plugins/music/snapcast.py @@ -49,6 +49,7 @@ class MusicSnapcastPlugin(Plugin): def _connect(self, host=None, port=None): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + self.logger.info('Connecting to Snapcast host {}:{}'.format(host, port)) sock.connect((host or self.host, port or self.port)) return sock