[pergola] making _set_fields_b error message more informative