diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb index e45ac7f..a9f7f40 100644 --- a/app/controllers/conferences_controller.rb +++ b/app/controllers/conferences_controller.rb @@ -485,9 +485,9 @@ class ConferencesController < ApplicationController :other => r.other || '' } end - rescue - logger.info "Error adding row to stats.xls" - logger.info "\t#{r ? r.to_yaml.to_s : 'nil'}" + rescue => error + logger.info "Error adding row to stats.xls: #{error.message}" + logger.info error.backtrace end end end