Browse Source

Error message and backtrace for stats.xls

development
Godwin 9 years ago
parent
commit
fdd11ce83e
  1. 6
      app/controllers/conferences_controller.rb

6
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

Loading…
Cancel
Save