Catches exceptions in catalog controller actions and doesn't install development packages via composer