app/controllers/kadmin/application_controller.rb in kadmin-1.1.0 vs app/controllers/kadmin/application_controller.rb in kadmin-1.1.1
- old
+ new
@@ -34,10 +34,9 @@
def not_found(error)
handle_error(error, title: I18n.t('kadmin.errors.not_found'), status: :not_found)
end
def handle_unexpected_error(error)
- Rails.logger.error(error)
handle_error(error, title: I18n.t('kadmin.errors.unexpected'), message: I18n.t('kadmin.errors.unexpected_message'))
end
def handle_error(error, options = {})
options = {