Skip to content

Commit

Permalink
Merge branch 'release/0.6.15.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Apr 24, 2016
2 parents 3e4da80 + 71b8a1e commit 3b324cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/web/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Web::ApplicationController < ApplicationController
rescue_from ActionView::MissingTemplate, ActiveRecord::RecordNotFound, NoMethodError do |exception|
Rails.logger.warn "ERROR MESSAGE: #{exception.message}"
Rails.logger.warn "BACKTRACE: #{exception.backtrace.first(30).join("\n")}"
render '/web/pages/shared/_server_error', status: 500
render html: '/web/pages/shared/_server_error', status: 500
end
end

Expand Down

0 comments on commit 3b324cb

Please sign in to comment.