[FrameworkBundle] register ErrorHandler at boot time