Depends how much he ate. Nothing wrong with the beans, but there's quite a lot of salt in the sauce, and that really isn't good for cats - the smaller the animal, the less tolerant they are of salt (think of all those horrible stories about babies who have been made badly ill and worse as a result of being given salt).