Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 2955:bbfd95a0c429
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Dec 2018 14:59:23 +0100 |
parents | d2e548e643af |
children | 94c8222c52b7 |
comparison
equal
deleted
inserted
replaced
2954:d924f9bb61cc | 2955:bbfd95a0c429 |
---|---|
922 OrthancRestApi::GetApi(call).SubmitCommandsJob | 922 OrthancRestApi::GetApi(call).SubmitCommandsJob |
923 (call, job.release(), true /* synchronous by default */, request); | 923 (call, job.release(), true /* synchronous by default */, request); |
924 } | 924 } |
925 else | 925 else |
926 { | 926 { |
927 LOG(ERROR) << "No peer with symbolic name: " << remote; | 927 throw OrthancException(ErrorCode_UnknownResource, |
928 throw OrthancException(ErrorCode_UnknownResource); | 928 "No peer with symbolic name: " + remote); |
929 } | 929 } |
930 } | 930 } |
931 } | 931 } |
932 | 932 |
933 | 933 |