X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/060d38d627bd1e51dd2b3c6e7de9af6aa7d7b6f3..418c57bce3aac1a22548e53e1018a1547d9efee4:/services/api/app/models/job.rb diff --git a/services/api/app/models/job.rb b/services/api/app/models/job.rb index 8de3897eab..7508ead5d5 100644 --- a/services/api/app/models/job.rb +++ b/services/api/app/models/job.rb @@ -33,7 +33,7 @@ class Job < ArvadosModel has_many :commit_ancestors, :foreign_key => :descendant, :primary_key => :script_version has_many(:nodes, foreign_key: :job_uuid, primary_key: :uuid) - class SubmitIdReused < StandardError + class SubmitIdReused < RequestError end api_accessible :user, extend: :common do |t|