Catch all exception when instanciating a controller