mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
better error message
This commit is contained in:
parent
b1d1455d78
commit
b6dd239b23
@ -828,7 +828,7 @@ ARGS = {8}\n'''.format(self.minion_config,
|
||||
if not re.search(RSTR_RE, stdout) or not re.search(RSTR_RE, stderr):
|
||||
# If RSTR is not seen in both stdout and stderr then there
|
||||
# was a thin deployment problem.
|
||||
return 'ERROR: Failure deploying thin: {0}'.format(stdout), stderr, retcode
|
||||
return 'ERROR: Failure deploying thin: {0}\n{1}'.format(stdout, stderr), stderr, retcode
|
||||
stdout = re.split(RSTR_RE, stdout, 1)[1].strip()
|
||||
stderr = re.split(RSTR_RE, stderr, 1)[1].strip()
|
||||
elif 'ext_mods' == shim_command:
|
||||
|
Loading…
Reference in New Issue
Block a user