We should catch exceptions here.  For instances if for some reason there is a directory the history server user doesn't have access to it will throw a AccessControlException. This then prevents any applications after it in the directory from being displayed.