Governments should definitely have done a better job to ease tensions and avoid faith-based hate and backlash for muslims.
A good thing officials could do is explicitly oppose to the rhetoric of religioius war that Daech/Isis is trying to spread, and defend France’s universalist model that aims and succeed in large part to have citizens of all faith peacefully cohabit.