diff OrthancServer/ServerJobs/ArchiveJob.cpp @ 2955:bbfd95a0c429

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Dec 2018 14:59:23 +0100
parents ea7aea6f6a95
children 9c0b0a6d8b54
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/ArchiveJob.cpp	Mon Dec 03 14:35:34 2018 +0100
+++ b/OrthancServer/ServerJobs/ArchiveJob.cpp	Mon Dec 03 14:59:23 2018 +0100
@@ -812,8 +812,8 @@
   
   void ArchiveJob::Reset()
   {
-    LOG(ERROR) << "Cannot resubmit the creation of an archive";
-    throw OrthancException(ErrorCode_BadSequenceOfCalls);
+    throw OrthancException(ErrorCode_BadSequenceOfCalls,
+                           "Cannot resubmit the creation of an archive");
   }