# HG changeset patch # User Sebastien Jodogne # Date 1466602267 -7200 # Node ID 5b93382f88e181a357cdbb9758906d182b8bbb37 # Parent 9f61ca1e3eb3bdaed9d80326b5f593fdcb584b55 fix diff -r 9f61ca1e3eb3 -r 5b93382f88e1 Core/WebServiceParameters.cpp --- 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);