mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #3784 from basepi/autherrorfix
Fixes #3760 Fix to properly print errors from cli.run()
This commit is contained in:
commit
6865b8f0ec
@ -108,7 +108,7 @@ class SaltCMD(parsers.SaltCMDOptionParser):
|
||||
ret, out = self._format_ret(full_ret)
|
||||
self._output_ret(ret, out)
|
||||
except (SaltInvocationError, EauthAuthenticationError) as exc:
|
||||
ret = exc
|
||||
ret = str(exc)
|
||||
out = ''
|
||||
self._output_ret(ret, out)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user