Error message and backtrace for stats.xls

This commit is contained in:
Godwin 2015-09-16 17:20:30 -07:00
parent cca47a6d31
commit fdd11ce83e

View File

@ -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