Added error logging for connection issues