Catches exceptions in catalog controller actions
Minor optimization