Mercurial > hg > orthanc
comparison OrthancServer/OrthancInitialization.cpp @ 1427:d710ea64f0fd
Custom setting of the local AET during C-Store SCU (both in Lua and in the REST API)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Jun 2015 12:42:54 +0200 |
parents | fe384a9d3b51 |
children | 7366a0bdda6a |
comparison
equal
deleted
inserted
replaced
1426:2cf9a12c995a | 1427:d710ea64f0fd |
---|---|
147 if (configurationFile) | 147 if (configurationFile) |
148 { | 148 { |
149 if (!boost::filesystem::exists(configurationFile)) | 149 if (!boost::filesystem::exists(configurationFile)) |
150 { | 150 { |
151 LOG(ERROR) << "Inexistent path to configuration: " << configurationFile; | 151 LOG(ERROR) << "Inexistent path to configuration: " << configurationFile; |
152 return; | 152 throw OrthancException(ErrorCode_InexistentFile); |
153 } | 153 } |
154 | 154 |
155 if (boost::filesystem::is_directory(configurationFile)) | 155 if (boost::filesystem::is_directory(configurationFile)) |
156 { | 156 { |
157 defaultDirectory_ = boost::filesystem::path(configurationFile); | 157 defaultDirectory_ = boost::filesystem::path(configurationFile); |