Skip to content

Commit

Permalink
Merge pull request saltstack#47666 from bebosudo/bebosudo-jinja-error…
Browse files Browse the repository at this point in the history
…-add-reference-logs

Add reference to the logs when state cannot be rendered.
  • Loading branch information
Nicole Thomas authored May 16, 2018
2 parents 12c028f + c831f06 commit 9ee2786
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -3904,7 +3904,8 @@ def call_highstate(self, exclude=None, cache=None, cache_name='highstate',
err += self.verify_tops(top)
matches = self.top_matches(top)
if not matches:
msg = 'No Top file or master_tops data matches found.'
msg = ('No Top file or master_tops data matches found. Please see '
'master log for details.')
ret[tag_name]['comment'] = msg
return ret
matches = self.matches_whitelist(matches, whitelist)
Expand Down

0 comments on commit 9ee2786

Please sign in to comment.