mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #24336 from twangboy/fix_cp_get_url
Added line to give more descriptive error
This commit is contained in:
commit
485116c2cc
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