saltstack/salt — pull request #1711 by marcinkuzminski (2012-07-27 18:53:11+00:00)
Title: Added logging into JSON outputter so it does not silently hide errors

When module returns JSON data and it's for example not serializable salt silently returns proper JSON. It was hard to debug, since nothing was in logs.