lib/softwear/error_catcher.rb in softwear-lib-3.3.6 vs lib/softwear/error_catcher.rb in softwear-lib-3.3.7
- old
+ new
@@ -24,10 +24,9 @@
@error = error
@additional_info = gather_additional_info
begin
- Rails.logger.error "WTF THIS NO WORKY! THIS IS THE LAYOUT: #{layout_for_error}"
respond_to do |format|
format.html { render 'softwear/errors/internal_server_error', layout: layout_for_error, status: 500 }
format.js { render 'softwear/errors/internal_server_error', layout: layout_for_error, status: 500 }
format.json { render json: '{}', status: 500 }
end