Mercurial > hg > orthanc
comparison Core/JobsEngine/JobsEngine.cpp @ 3658:2d90dd30858c storage-commitment
providing job ID to the IJob::Step() methods
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Feb 2020 16:44:26 +0100 |
parents | 94f4a18a79cc |
children |
comparison
equal
deleted
inserted
replaced
3657:115f82775c46 | 3658:2d90dd30858c |
---|---|
69 | 69 |
70 JobStepResult result; | 70 JobStepResult result; |
71 | 71 |
72 try | 72 try |
73 { | 73 { |
74 result = running.GetJob().Step(); | 74 result = running.GetJob().Step(running.GetId()); |
75 } | 75 } |
76 catch (OrthancException& e) | 76 catch (OrthancException& e) |
77 { | 77 { |
78 result = JobStepResult::Failure(e); | 78 result = JobStepResult::Failure(e); |
79 } | 79 } |