Now returns an empty string if the query fails for any reason and logs the exception in the exception manager.  This allows the library to continue to work in the event of an error.