better errors when encountering null connection information