changeset 120:88ecaf8b163a

Don't exit on exception (needs refining)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 27 Oct 2016 13:42:07 +0100
parents 5876f3e9c677
children 56e537a7bb99
files vamp-server/server.cpp
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vamp-server/server.cpp	Thu Oct 27 12:04:44 2016 +0100
+++ b/vamp-server/server.cpp	Thu Oct 27 13:42:07 2016 +0100
@@ -605,8 +605,10 @@
             }
 
             writeException(format, e, request.type);
-            
-            exit(1);
+
+            //!!! some exceptions should not be continued after,
+            //!  but json/capnp parser ones should
+            //exit(1);
         }
     }