Merge "Fix Syntax Error being thrown by handle in ModifyPackageForm."
This commit is contained in:
commit
43e265eee9
|
@ -255,7 +255,7 @@ class ModifyPackageForm(PackageParamsMixin, horizon_forms.SelfHandlingForm):
|
|||
reason = error.get('message')
|
||||
except ValueError:
|
||||
# Let horizon operate with original exception
|
||||
raise exc_info[0], exc_info[1], exc_info[2]
|
||||
raise (exc_info[0], exc_info[1], exc_info[2])
|
||||
|
||||
msg = _('Failed to modify the package. {0}').format(reason)
|
||||
LOG.exception(msg)
|
||||
|
|
Loading…
Reference in New Issue