diff --git a/vendor/plugins/refinery/lib/refinery/application_controller.rb b/vendor/plugins/refinery/lib/refinery/application_controller.rb
index <HASH>..<HASH> 100644
--- a/vendor/plugins/refinery/lib/refinery/application_controller.rb
+++ b/vendor/plugins/refinery/lib/refinery/application_controller.rb
@@ -8,7 +8,7 @@ class Refinery::ApplicationController < ActionController::Base
 
   before_filter :take_down_for_maintenance?, :find_pages_for_menu, :show_welcome_page
 
-  rescue_from ActiveRecord::RecordNotFound, ActionController::UnknownAction, :with => :error_404
+  rescue_from(ActiveRecord::RecordNotFound, ActionController::UnknownAction, :with => :error_404) unless RAILS_ENV == "development"
 
   def error_404
     if (@page = Page.find_by_menu_match("^/404$", :include => [:parts, :slugs])).present?
Default error messages when in development enviroment. This prevents
referiny from swallowing up usefull exceptions and redirecting them to a
<I> page.