add error message if init connection fails