Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp Fri Jun 26 16:30:51 2015 +0200 +++ b/OrthancServer/OrthancInitialization.cpp Mon Jun 29 12:42:54 2015 +0200 @@ -149,7 +149,7 @@ if (!boost::filesystem::exists(configurationFile)) { LOG(ERROR) << "Inexistent path to configuration: " << configurationFile; - return; + throw OrthancException(ErrorCode_InexistentFile); } if (boost::filesystem::is_directory(configurationFile))