Fix oslo.service ProcessLauncher fails to call stop
Change-Id: Ie8fd5f1da991f9b7edf43dbe15ad088599fef053
Closes-Bug: #1773070
(cherry picked from commit 612c6507dc
)
This commit is contained in:
parent
fb395f0080
commit
af82db7e43
|
@ -456,8 +456,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