Class: ImportDatasetStageJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- ImportDatasetStageJob
- Defined in:
- app/jobs/import_dataset_stage_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(import_dataset) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'app/jobs/import_dataset_stage_job.rb', line 4 def perform(import_dataset) begin Current.user_id = import_dataset.created_by_id Current.project_id = import_dataset.project_id import_dataset.stage rescue => ex ExceptionNotifier.notify_exception(ex, data: { import_dataset: import_dataset&.id&.to_s } ) raise end end |