Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions qiita_db/processing_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,13 @@ def submit(self, parent_job_id=None, dependent_jobs_list=None):
# be used to monitor the job's progress.

resource_params = self.resource_allocation_info
try:
resource_params = self.resource_allocation_info
except qdb.exceptions.QiitaDBUnknownIDError as e:
# this propagates the error to the job and using str(e)
# should be fine as we just want the last calculation
# error
self._set_error(str(e))

# note that parent_job_id is being passed transparently from
# submit declaration to the launcher.
Expand Down