remove exception code from production.rb