Fix the error string from lx_shape_query on a failed connection.