# HG changeset patch # User Alain Mazy # Date 1673432040 -3600 # Node ID 2523858921979fc310e1ca6a29b0c9e20a693863 # Parent 6aa41d86b9481ed7b82033f25e63e13bf6f25f6f fix diff -r 6aa41d86b948 -r 252385892197 OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp --- a/OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp Tue Jan 10 11:46:00 2023 +0100 +++ b/OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp Wed Jan 11 11:14:00 2023 +0100 @@ -261,7 +261,7 @@ catch (...) { LOG(ERROR) << "Native exception while executing a job"; - that->SetErrorCode(e.GetErrorCode()); + that->SetErrorCode(ErrorCode_InternalError); that->StopWorkers(); }