diff Core/WebServiceParameters.cpp @ 2042:5b93382f88e1

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 Jun 2016 15:31:07 +0200
parents 65b1ce7cb84f
children aa4b8895cd23
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);