improve output of cbc refinement error message