Mercurial > hg > orthanc
changeset 2042:5b93382f88e1
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 Jun 2016 15:31:07 +0200 |
parents | 9f61ca1e3eb3 |
children | 35ccba7adae9 |
files | Core/WebServiceParameters.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/WebServiceParameters.cpp Tue Jun 21 17:08:09 2016 +0200 +++ b/Core/WebServiceParameters.cpp Wed Jun 22 15:31:07 2016 +0200 @@ -209,6 +209,10 @@ throw OrthancException(ErrorCode_BadFileFormat); } } + catch (OrthancException&) + { + throw; + } catch (...) { throw OrthancException(ErrorCode_BadFileFormat);