protected Account getAccount(final UUID accountId, final TenantContext context) throws AnalyticsRefreshException { final AccountUserApi accountUserApi = getAccountUserApi(); try { return accountUserApi.getAccountById(accountId, context); } catch (AccountApiException e) { logService.log(LogService.LOG_WARNING, "Error retrieving account for id " + accountId, e); throw new AnalyticsRefreshException(e); } }