SOLR-6755: Adding a try/catch block and extra logging to get more details when this test fails next (merge from trunk)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1643014 13f79535-47bb-0310-9956-ffa450edef68