# HG changeset patch # User Alain Mazy # Date 1687943494 -7200 # Node ID 0854cc13b4d52d0399afb9f30e9e0b425eef0488 # Parent dd9795dc380d4609d6308522c6979f6ff554e75d better error reporting if anonymizing a study whose files are missings diff -r dd9795dc380d -r 0854cc13b4d5 OrthancServer/Sources/ServerJobs/ResourceModificationJob.cpp --- 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; }