Dump the json string to console when we trap an error.