comparison OrthancServer/OrthancInitialization.cpp @ 942:b3f6fb1130cd

fixes thanks to cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Jun 2014 11:36:41 +0200
parents 03ea55da7429
children 871c49c9b11d
comparison
equal deleted inserted replaced
941:83489fddd8c5 942:b3f6fb1130cd
297 } 297 }
298 catch (OrthancException& e) 298 catch (OrthancException& e)
299 { 299 {
300 LOG(ERROR) << "Syntax error in the definition of modality \"" << name 300 LOG(ERROR) << "Syntax error in the definition of modality \"" << name
301 << "\". Please check your configuration file."; 301 << "\". Please check your configuration file.";
302 throw e; 302 throw;
303 } 303 }
304 } 304 }
305 305
306 306
307 307
328 } 328 }
329 catch (OrthancException& e) 329 catch (OrthancException& e)
330 { 330 {
331 LOG(ERROR) << "Syntax error in the definition of peer \"" << name 331 LOG(ERROR) << "Syntax error in the definition of peer \"" << name
332 << "\". Please check your configuration file."; 332 << "\". Please check your configuration file.";
333 throw e; 333 throw;
334 } 334 }
335 } 335 }
336 336
337 337
338 static bool ReadKeys(std::set<std::string>& target, 338 static bool ReadKeys(std::set<std::string>& target,