Mercurial > hg > orthanc
comparison Core/JobsEngine/JobsRegistry.cpp @ 2600:140a539b4eba jobs
SequenceOfOperationsJob
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 May 2018 16:22:40 +0200 |
parents | 1b6a6d80b6f2 |
children | 1232922c8793 |
comparison
equal
deleted
inserted
replaced
2599:593d6b0f4cba | 2600:140a539b4eba |
---|---|
766 LOG(WARNING) << "Unknown job: " << id; | 766 LOG(WARNING) << "Unknown job: " << id; |
767 return false; | 767 return false; |
768 } | 768 } |
769 else if (found->second->GetState() != JobState_Failure) | 769 else if (found->second->GetState() != JobState_Failure) |
770 { | 770 { |
771 printf("%s\n", EnumerationToString(found->second->GetState())); | |
771 LOG(WARNING) << "Cannot resubmit a job that has not failed: " << id; | 772 LOG(WARNING) << "Cannot resubmit a job that has not failed: " << id; |
772 return false; | 773 return false; |
773 } | 774 } |
774 else | 775 else |
775 { | 776 { |