diff OrthancServer/OrthancRestApi/OrthancRestArchive.cpp @ 2976:cb5d75143da0

Asynchronous generation of ZIP archives and DICOM medias
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 12:23:46 +0100
parents eea66afed0db
children d0250d096acc
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Thu Dec 06 10:10:58 2018 +0100
+++ b/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Thu Dec 06 12:23:46 2018 +0100
@@ -155,7 +155,7 @@
     }
     else
     {
-      throw OrthancException(ErrorCode_NotImplemented);
+      OrthancRestApi::SubmitGenericJob(output, context, job.release(), false, priority);
     }
   }