Add Log.d for QueryFailedException