Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerJobs/ResourceModificationJob.cpp @ 5340:0854cc13b4d5
better error reporting if anonymizing a study whose files are missings
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 28 Jun 2023 11:11:34 +0200 |
parents | 3a61fd50f804 |
children | 65d55cc86a41 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/ResourceModificationJob.cpp Tue Jun 27 15:56:04 2023 +0200 +++ b/OrthancServer/Sources/ServerJobs/ResourceModificationJob.cpp Wed Jun 28 11:11:34 2023 +0200 @@ -222,7 +222,7 @@ catch (OrthancException& e) { LOG(WARNING) << "An error occurred while executing a Modification job on instance " << instance << ": " << e.GetDetails(); - return false; + throw e; }