comparison OrthancServer/main.cpp @ 1651:2e692c83e2f3

improved custom error login
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Sep 2015 17:29:39 +0200
parents 9f34ebfaf2c9
children d7039be97eeb
comparison
equal deleted inserted replaced
1650:9f34ebfaf2c9 1651:2e692c83e2f3
331 bool isPlugin = false; 331 bool isPlugin = false;
332 332
333 #if ORTHANC_PLUGINS_ENABLED == 1 333 #if ORTHANC_PLUGINS_ENABLED == 1
334 if (plugins_ != NULL) 334 if (plugins_ != NULL)
335 { 335 {
336 plugins_->GetErrorDictionary().LogError(exception); 336 plugins_->GetErrorDictionary().LogError(exception.GetErrorCode(), true);
337 isPlugin = true; 337 isPlugin = true;
338 } 338 }
339 #endif 339 #endif
340 340
341 if (!isPlugin) 341 if (!isPlugin)