private void processDeviceList(OAuthCredentials oauthCredentials) {
logger.debug("Request: {}", oauthCredentials.deviceListRequest);
logger.debug("Response: {}", oauthCredentials.deviceListResponse);
if (oauthCredentials.deviceListResponse.isError()) {
final NetatmoError error = oauthCredentials.deviceListResponse.getError();
if (error.isAccessTokenExpired()) {
oauthCredentials.refreshAccessToken();
execute();
} else {
throw new NetatmoException(error.getMessage());
}
return; // abort processing
} else {
processDeviceListResponse(oauthCredentials.deviceListResponse);