Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp @ 5135:252385892197
fix
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 11 Jan 2023 11:14:00 +0100 |
parents | 6aa41d86b948 |
children | e71b22a43c0b |
comparison
equal
deleted
inserted
replaced
5134:6aa41d86b948 | 5135:252385892197 |
---|---|
259 } | 259 } |
260 } | 260 } |
261 catch (...) | 261 catch (...) |
262 { | 262 { |
263 LOG(ERROR) << "Native exception while executing a job"; | 263 LOG(ERROR) << "Native exception while executing a job"; |
264 that->SetErrorCode(e.GetErrorCode()); | 264 that->SetErrorCode(ErrorCode_InternalError); |
265 that->StopWorkers(); | 265 that->StopWorkers(); |
266 } | 266 } |
267 | 267 |
268 } | 268 } |
269 } | 269 } |