Merge "Catch exceptions from backup runner"

This commit is contained in:
Jenkins 2016-06-08 10:31:30 +00:00 committed by Gerrit Code Review
commit 5263c74a78

View File

@ -76,9 +76,9 @@ class BackupAgent(object):
**backup_state)
LOG.debug("Updated state for %s to %s.", backup_id, backup_state)
try:
with runner(filename=backup_id, extra_opts=extra_opts,
**parent_metadata) as bkup:
try:
LOG.debug("Starting backup %s.", backup_id)
meta = {}
meta['datastore'] = backup_info['datastore']