Catches exceptions and sends them back to the stream processor when
formatting Solr docs.
Only adds entity-level custom columns if no table restriction.