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 || '' :other => r.other || ''
} }
end end
rescue rescue => error
logger.info "Error adding row to stats.xls" logger.info "Error adding row to stats.xls: #{error.message}"
logger.info "\t#{r ? r.to_yaml.to_s : 'nil'}" logger.info error.backtrace
end end
end end
end end

Loading…
Cancel
Save