Merge "Fix oslo.service ProcessLauncher fails to call stop"

This commit is contained in:
Zuul 2018-07-23 16:59:34 +00:00 committed by Gerrit Code Review
commit 62d4119dac
1 changed files with 2 additions and 0 deletions

View File

@ -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