Fix oslo.service ProcessLauncher fails to call stop
Change-Id: Ie8fd5f1da991f9b7edf43dbe15ad088599fef053 Closes-Bug: #1773070
This commit is contained in:
parent
1f13ffaf74
commit
612c6507dc
|
@ -520,8 +520,10 @@ class ProcessLauncher(object):
|
|||
status = exc.code
|
||||
signo = exc.signo
|
||||
except SystemExit as exc:
|
||||
launcher.stop()
|
||||
status = exc.code
|
||||
except BaseException:
|
||||
launcher.stop()
|
||||
LOG.exception('Unhandled exception')
|
||||
status = 2
|
||||
|
||||
|
|
Loading…
Reference in New Issue