Merge "Fix oslo.service ProcessLauncher fails to call stop" into stable/ocata

This commit is contained in:
Zuul 2019-05-20 09:03:49 +00:00 committed by Gerrit Code Review
commit 595c40b2ba
1 changed files with 2 additions and 0 deletions

View File

@ -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(_LE('Unhandled exception'))
status = 2