mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make sure exception raises is of type Exception() Fixes #23312
This commit is contained in:
parent
49f5789934
commit
ace1d58947
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ def _wait_for_task(task, vm_name, task_type, sleep_seconds=1, log_level='debug')
|
|||
else:
|
||||
log.debug(message)
|
||||
else:
|
||||
raise task.info.error
|
||||
raise Exception(task.info.error)
|
||||
|
||||
|
||||
def _wait_for_host(host_ref, task_type, sleep_seconds=5, log_level='debug'):
|
||||
|
|
Loading…
Add table
Reference in a new issue