We should log errors when publish requests are made and the mqtt connection has not opened or has closed.
We should log errors when publish requests are made and the mqtt connection has not opened or has closed.