소스 검색

Use the same except clause in signal() as in kill()

Mike Naberezny 10 년 전
부모
커밋
2e1b98319f
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      supervisor/process.py

+ 1 - 3
supervisor/process.py

@@ -463,7 +463,7 @@ class Subprocess:
 
         try:
             options.kill(self.pid, sig)
-        except Exception:
+        except:
             io = StringIO.StringIO()
             traceback.print_exc(file=io)
             tb = io.getvalue()
@@ -476,8 +476,6 @@ class Subprocess:
 
         return None
 
-
-
     def finish(self, pid, sts):
         """ The process was reaped and we need to report and manage its state
         """