Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Fri Sep 25 16:47:05 2015 +0200 +++ b/OrthancServer/main.cpp Fri Sep 25 17:29:39 2015 +0200 @@ -333,7 +333,7 @@ #if ORTHANC_PLUGINS_ENABLED == 1 if (plugins_ != NULL) { - plugins_->GetErrorDictionary().LogError(exception); + plugins_->GetErrorDictionary().LogError(exception.GetErrorCode(), true); isPlugin = true; } #endif