mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Added line to give more descriptive error
This commit is contained in:
parent
7dcd9bb5de
commit
37b11f931c
1 changed files with 2 additions and 0 deletions
|
@ -595,6 +595,8 @@ class Client(object):
|
|||
stream=True,
|
||||
**get_kwargs
|
||||
)
|
||||
if 'handle' not in query:
|
||||
raise MinionError('Error: {0}'.format(query['error']))
|
||||
response = query['handle']
|
||||
chunk_size = 32 * 1024
|
||||
if not no_cache:
|
||||
|
|
Loading…
Add table
Reference in a new issue