]> www.dolda2000.com Git - ashd.git/commitdiff
python: Abort instead of exit on rplex response-thread errors.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 5 Jan 2014 21:18:19 +0000 (22:18 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 5 Jan 2014 21:18:19 +0000 (22:18 +0100)
python3/ashd/serve.py

index cddf81582d10498ed81bebb387a4428604467281..0a4525915e9865a9ee31886933dae40192b3308e 100644 (file)
@@ -399,7 +399,7 @@ class resplex(handler):
                             ckiter(req)
         except:
             log.critical("unexpected exception occurred in response handler thread", exc_info=True)
-            sys.exit(1)
+            os.abort()
 
     def close(self):
         while True: