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
8a0e8cb77e
commit
7bd23cff92
|
@ -457,8 +457,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